Элементы 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.)

В начало