共用方式為


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 命名空間