Share via


IDbConnectionInterceptor.ConnectionStringSetting Method

Definition

Called before ConnectionString is set.

public void ConnectionStringSetting (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<string> interceptionContext);
abstract member ConnectionStringSetting : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<string> -> unit
Public Sub ConnectionStringSetting (connection As DbConnection, interceptionContext As DbConnectionPropertyInterceptionContext(Of String))

Parameters

connection
DbConnection

The connection.

interceptionContext
DbConnectionPropertyInterceptionContext<String>

Contextual information associated with the call.

Applies to