Partager via


Membres IDbConnection

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

Le type IDbConnection expose les membres suivants.

Méthodes

  Nom Description
Méthode publique BeginTransaction Begins a database transaction.
Méthode publique Close Closes the connection to the database.
Méthode publique CreateCommand Creates and returns a Command object associated with the connection.
Méthode publique Dispose (Hérité de IDisposable.)
Méthode publique Open Initializes a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.
Méthode publique SetConfiguration Used to pass custom configuration data to an extension. (Hérité de IExtension.)

Haut de la page

Propriétés

  Nom Description
Propriété publique ConnectionString Gets or sets the string used to open a database.
Propriété publique ConnectionTimeout Gets the time to wait, while trying to establish a connection, before terminating the attempt and generating an error.
Propriété publique LocalizedName Gets the localized name of the extension to be displayed in a user interface. (Hérité de IExtension.)

Haut de la page