共用方式為


IDbConnection Members

Represents an open connection to a data source, and is implemented by SQL Server Reporting Services data processing extensions that access relational databases.

The following tables list the members exposed by the IDbConnection type.

Public Properties

  名稱 Description
ms160688.pubproperty(zh-tw,SQL.90).gif ConnectionString Gets or sets the string used to open a database.
ms160688.pubproperty(zh-tw,SQL.90).gif ConnectionTimeout Gets the time to wait, while trying to establish a connection, before terminating the attempt and generating an error.

頂端

Public Methods

  名稱 Description
ms160688.pubmethod(zh-tw,SQL.90).gif BeginTransaction Begins a database transaction.
ms160688.pubmethod(zh-tw,SQL.90).gif Close Closes the connection to the database.
ms160688.pubmethod(zh-tw,SQL.90).gif CreateCommand Creates and returns a Command object associated with the connection.
ms160688.pubmethod(zh-tw,SQL.90).gif Open Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.

頂端

請參閱

參考

IDbConnection Interface
Microsoft.ReportingServices.DataProcessing Namespace