Compartir a través de


IDbConnection Miembros

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

El tipo IDbConnection expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico BeginTransaction Begins a database transaction.
Método publico Close Closes the connection to the database.
Método publico CreateCommand Creates and returns a Command object associated with the connection.
Método publico Dispose (Se hereda de IDisposable).
Método publico Open Initializes a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.
Método publico SetConfiguration Used to pass custom configuration data to an extension. (Se hereda de IExtension).

Principio

Propiedades

  Nombre Descripción
Propiedad pública ConnectionString Gets or sets the string used to open a database.
Propiedad pública ConnectionTimeout Gets the time to wait, while trying to establish a connection, before terminating the attempt and generating an error.
Propiedad pública LocalizedName Gets the localized name of the extension to be displayed in a user interface. (Se hereda de IExtension).

Principio