Délégué QeStatementCompletedEventHandler
Represents the method that will handle the statement completed events.
Espace de noms : Microsoft.SqlServer.Management.MultiServerConnection
Assembly : Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntaxe
'Déclaration
Public Delegate Sub QeStatementCompletedEventHandler ( _
sender As Object, _
resultInfo As NonQueryResult _
)
'Utilisation
Dim instance As New QeStatementCompletedEventHandler(AddressOf HandlerMethod)
public delegate void QeStatementCompletedEventHandler(
Object sender,
NonQueryResult resultInfo
)
public delegate void QeStatementCompletedEventHandler(
Object^ sender,
NonQueryResult^ resultInfo
)
type QeStatementCompletedEventHandler =
delegate of
sender:Object *
resultInfo:NonQueryResult -> 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
The Object that initiated the event.
- resultInfo
Type : Microsoft.SqlServer.Management.MultiServerConnection. . :: . .NonQueryResult
The NonQueryResult which contains the information needed to process the event.