Compartir a través de


Delegado Policy.ConnectionProcessingStartedEventHandler

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

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Public Delegate Sub ConnectionProcessingStartedEventHandler ( _
    sender As Object, _
    e As Policy.ConnectionProcessingStartedEventArgs _
)
'Uso
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 admite el uso de delegados, pero no la declaración de otros nuevos.

Parámetros

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplos

Controlar eventos SMO

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Dmf