Skip to main content
All docs
V23.2

IDBConnectionInterceptor.ConnectionOpened(String, IDbConnection) Method

Called after an SQL provider opens a database connection with the settings specified by the connection string.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

void ConnectionOpened(
    string sqlDataConnectionName,
    IDbConnection connection
)

Parameters

Name Type Description
sqlDataConnectionName String

The connection name. This value is assigned to the SqlDataSource.ConnectionName property.

connection IDbConnection

The open connection to a data source.

See Also