共用方式為


PolicyEvaluationStarted 事件

Represents the event activated when policy evaluation begins.

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

語法

'宣告
Public Event PolicyEvaluationStarted As Policy..::..PolicyEvaluationStartedEventHandler
'用途
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 支援事件的使用,但不支援新事件的宣告。