Sdílet prostřednictvím


Policy.ConnectionProcessingStartedEventHandler Delegate

The Policy.ConnectionProcessingStartedEventHandler class represents the event handler that handles the event that occurs when the processing of a connection has started.

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

Syntax

'Declaration
Public Delegate Sub ConnectionProcessingStartedEventHandler ( _
    sender As Object, _
    e As Policy.ConnectionProcessingStartedEventArgs _
)
'Usage
Dim instance As New ConnectionProcessingStartedEventHandler(AddressOf HandlerMethod)
public delegate void ConnectionProcessingStartedEventHandler(
    Object sender,
    Policy.ConnectionProcessingStartedEventArgs e
)
public delegate void ConnectionProcessingStartedEventHandler(
    Object^ sender, 
    Policy.ConnectionProcessingStartedEventArgs^ e
)
type ConnectionProcessingStartedEventHandler = 
    delegate of  
        sender:Object * 
        e:Policy.ConnectionProcessingStartedEventArgs -> unit
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

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