Share via


IDbConnectionInterceptor.ServerVersionGetting Method

Definition

Called before ServerVersion is retrieved.

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

Parameters

connection
DbConnection

The connection.

interceptionContext
DbConnectionInterceptionContext<String>

Contextual information associated with the call.

Applies to