Properties, clsDataSource

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

An object of ClassType clsDataSource implements the following properties. The table also shows whether the property is read/write (R/W) or read-only (R).

Property Description Access

ClassType

Returns an enumeration constant that identifies the specific class type

R

CloseQuoteChar

The right (closing) quote character used by the source database

R

Connection

A reference to a Microsoft® ActiveX® Data Objects (ADO) Connection object, used to connect to a relational database

R

ConnectionString

A string containing the initialization parameters for the source database

R/W

Description

A description of the data source

R/W

IsReadOnly

Indicates whether the data source is read-only

R

IsValid

Indicates whether the structure of the data source object is valid

R

Name

The name of the data source object

R/W (read-only after the object has been named)

OpenQuoteChar

The left (opening) quote character used by the source database

R

Parent

Returns a reference to the parent MDStore object

R/W

SubClassType

Returns an enumeration constant that identifies the subclass type of the object

R

SupportedTxnDDL

Returns the value of the connection object's Transaction DDL property, which indicates the source database's ability to support data definition language (DDL) statements in transactions

R

請參閱

參考

clsDataSource

說明及資訊

取得 SQL Server 2005 協助