Délégué Policy.ConnectionProcessingStartedEventHandler
The Policy.ConnectionProcessingStartedEventHandler class represents the event handler that handles the event that occurs when the processing of a connection has started.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Delegate Sub ConnectionProcessingStartedEventHandler ( _
sender As Object, _
e As Policy.ConnectionProcessingStartedEventArgs _
)
'Utilisation
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 prend en charge l'utilisation de délégués, mais pas la déclaration de nouveaux délégués.
Paramètres
- sender
Type : System.Object
An Object value that specifies the source of the event.
- e
Type : Microsoft.SqlServer.Management.Dmf.Policy.ConnectionProcessingStartedEventArgs
A Policy.ConnectionProcessingStartedEventHandler object that contains the event data.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.