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 | |
|---|---|---|
![]() |
ConnectionString | Gets or sets the string used to open a database. |
![]() |
ConnectionTimeout | Gets the time to wait, while trying to establish a connection, before terminating the attempt and generating an error. |
顶部
Public Methods
| 名称 | Description | |
|---|---|---|
![]() |
BeginTransaction | Begins a database transaction. |
![]() |
Close | Closes the connection to the database. |
![]() |
CreateCommand | Creates and returns a Command object associated with the connection. |
![]() |
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
.gif)
.gif)