QeStatementCompletedEventHandler Delegate
Represents the method that will handle the statement completed events.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Public Delegate Sub QeStatementCompletedEventHandler ( _
sender As Object, _
resultInfo As NonQueryResult _
)
'Usage
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 supports the use of delegates, but not the declaration of new ones.
Parameters
- 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.