The IsValid property of an object of ClassType clsDatasource identifies whether the structure of an object is valid.
Boolean
True if the structure of the object is valid; False if otherwise.
Read-only
Validity checking consists of verifying that the object’s Name, Parent, and ConnectionString properties are not empty.