IDbConnection 成員
Represents an open connection to a data source, and is implemented by SQL Server Reporting Services data processing extensions that access relational databases.
IDbConnection 型別公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
![]() |
BeginTransaction | Begins a database transaction. |
![]() |
Close | Closes the connection to the database. |
![]() |
CreateCommand | Creates and returns a Command object associated with the connection. |
![]() |
Dispose | (繼承自 IDisposable。) |
![]() |
Open | Initializes a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object. |
![]() |
SetConfiguration | Used to pass custom configuration data to an extension. (繼承自 IExtension。) |
頂端
屬性
名稱 | 描述 | |
---|---|---|
![]() |
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. |
![]() |
LocalizedName | Gets the localized name of the extension to be displayed in a user interface. (繼承自 IExtension。) |
頂端