Policy.ConnectionProcessingFinishedEventHandler 委托

The Policy.ConnectionProcessingFinishedEventHandler class represents the event handler that handles the event that occurs when the processing of the connection has finished.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Delegate Sub ConnectionProcessingFinishedEventHandler ( _
    sender As Object, _
    e As Policy.ConnectionProcessingFinishedEventArgs _
)
用法
Dim instance As New ConnectionProcessingFinishedEventHandler(AddressOf HandlerMethod)
public delegate void ConnectionProcessingFinishedEventHandler(
    Object sender,
    Policy.ConnectionProcessingFinishedEventArgs e
)
public delegate void ConnectionProcessingFinishedEventHandler(
    Object^ sender, 
    Policy.ConnectionProcessingFinishedEventArgs^ e
)
type ConnectionProcessingFinishedEventHandler = 
    delegate of  
        sender:Object * 
        e:Policy.ConnectionProcessingFinishedEventArgs -> unit
JScript 支持使用委托,但不支持声明新委托。

参数

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

处理 SMO 事件

请参阅

参考

Microsoft.SqlServer.Management.Dmf 命名空间