共用方式為


IsValid (clsDataSource)

ms134820.note(zh-tw,SQL.90).gif附註:
  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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

Data Type

Boolean

Access

Read-only

備註

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.

請參閱

參考

clsDataSource
ConnectionString (clsDataSource)
Name (clsDataSource)
Parent (clsDataSource)

說明及資訊

取得 SQL Server 2005 協助