Policy.ConnectionProcessingStartedEventHandler Delegado
The 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
- sender
Tipo: System. . :: . .Object
An Object value that specifies the source of the event.
- e
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .Policy. . :: . .ConnectionProcessingStartedEventArgs
A ConnectionProcessingStartedEventHandler object that contains the event data.
Notas
Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.