Share via


IsValid (clsDataSource)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The IsValid property of an object of ClassType clsDataSource identifies whether the structure of an object is valid.

Data Type

Boolean

Access

Read-only

Remarks

Validity checking consists of verifying that the object's Name and Parent properties are not empty and that the IsConnected property is True. If all properties are valid, the IsValid property returns True. If any of the properties are invalid, the IsValid property returns False.