Dela via


Policy.PolicyEvaluationStarted Event

Represents the event activated when policy evaluation begins.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Event PolicyEvaluationStarted As Policy..::..PolicyEvaluationStartedEventHandler
'Usage
Dim instance As Policy
Dim handler As Policy..::..PolicyEvaluationStartedEventHandler

AddHandler instance.PolicyEvaluationStarted, handler
public event Policy..::..PolicyEvaluationStartedEventHandler PolicyEvaluationStarted
public:
 event Policy..::..PolicyEvaluationStartedEventHandler^ PolicyEvaluationStarted {
    void add (Policy..::..PolicyEvaluationStartedEventHandler^ value);
    void remove (Policy..::..PolicyEvaluationStartedEventHandler^ value);
}
member PolicyEvaluationStarted : IEvent<Policy..::..PolicyEvaluationStartedEventHandler,
    EventArgs>
JScript supports the use of events, but not the declaration of new ones.