共用方式為


IDbConnectionInterceptor.ServerVersionGetting 方法

定義

擷取之前 ServerVersion 呼叫。

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))

參數

connection
DbConnection

連接。

interceptionContext
DbConnectionInterceptionContext<String>

與呼叫相關聯的內容資訊。

適用於