Delen via


Policy.PolicyEvaluationStartedEventHandler Delegate

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

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

Syntax

'Declaration
Public Delegate Sub PolicyEvaluationStartedEventHandler ( _
    sender As Object, _
    e As EventArgs _
)
'Usage
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 supports the use of delegates, but not the declaration of new ones.

Parameters

  • e
    Type: System.EventArgs
    A PolicyEvaluationStartedEventArgs object that contains the event data.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Events

See Also

Reference

Microsoft.SqlServer.Management.Dmf Namespace