共用方式為


Policy.PolicyEvaluationStartedEventHandler 委派

The PolicyEvaluationStartedEventHandler class represents the event handler that handles the event that occurs when the evaluation of a policy has started.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Delegate Sub PolicyEvaluationStartedEventHandler ( _
    sender As Object, _
    e As EventArgs _
)
'用途
Dim instance As New PolicyEvaluationStartedEventHandler(AddressOf HandlerMethod)
public delegate void PolicyEvaluationStartedEventHandler(
    Object sender,
    EventArgs e
)
public delegate void PolicyEvaluationStartedEventHandler(
    Object^ sender, 
    EventArgs^ e
)
type PolicyEvaluationStartedEventHandler = 
    delegate of 
        sender:Object * 
        e:EventArgs -> unit
JScript 支援委託的使用,但不支援新委託的宣告。

參數

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。