Policy.ConnectionProcessingStartedEventHandler 委托
The ConnectionProcessingStartedEventHandler class represents the event handler that handles the event that occurs when the processing of a connection has started.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Public Delegate Sub ConnectionProcessingStartedEventHandler ( _
sender As Object, _
e As Policy..::..ConnectionProcessingStartedEventArgs _
)
用法
Dim instance As New ConnectionProcessingStartedEventHandler(AddressOf HandlerMethod)
public delegate void ConnectionProcessingStartedEventHandler(
Object sender,
Policy..::..ConnectionProcessingStartedEventArgs e
)
public delegate void ConnectionProcessingStartedEventHandler(
Object^ sender,
Policy..::..ConnectionProcessingStartedEventArgs^ e
)
type ConnectionProcessingStartedEventHandler =
delegate of
sender:Object *
e:Policy..::..ConnectionProcessingStartedEventArgs -> unit
JScript 支持使用委托,但不支持声明新委托。
参数
- sender
类型:System. . :: . .Object
An Object value that specifies the source of the event.
- e
类型:Microsoft.SqlServer.Management.Dmf. . :: . .Policy. . :: . .ConnectionProcessingStartedEventArgs
A ConnectionProcessingStartedEventHandler object that contains the event data.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。