IDbConnectionInterceptor.ConnectionStringGetting Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called before ConnectionString is retrieved.
public void ConnectionStringGetting(System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<string> interceptionContext);
abstract member ConnectionStringGetting : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<string> -> unit
Public Sub ConnectionStringGetting (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext(Of String))
Parameters
- connection
- DbConnection
The connection.
- interceptionContext
- DbConnectionInterceptionContext<String>
Contextual information associated with the call.