Udostępnij za pośrednictwem


Zdarzenie Policy.PolicyEvaluationStarted

Reprezentuje zdarzenie aktywowany po rozpoczęciu zasad oceny.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
Public Event PolicyEvaluationStarted As Policy..::..PolicyEvaluationStartedEventHandler
'Użycie
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>
Język JScript obsługuje używanie zdarzeń, ale nie obsługuje deklarowania nowych.