QeStatementCompletedEventHandler 委派
Represents the method that will handle the statement completed events.
命名空間: Microsoft.SqlServer.Management.MultiServerConnection
組件: Microsoft.SqlServer.Management.MultiServerConnection (在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)
語法
'宣告
Public Delegate Sub QeStatementCompletedEventHandler ( _
sender As Object, _
resultInfo As NonQueryResult _
)
'用途
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 支援委託的使用,但不支援新委託的宣告。
參數
- sender
型別:System. . :: . .Object
The Object that initiated the event.
- resultInfo
型別:Microsoft.SqlServer.Management.MultiServerConnection. . :: . .NonQueryResult
The NonQueryResult which contains the information needed to process the event.