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 版支援此命名空間、類別或成員。