Partilhar via


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.

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

Sintaxe

'Declaração
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 dá suporte ao uso de representantes, mas não à declaração de representantes novos.

Parâmetros

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Dmf