Freigeben über


StatementEventHandler-Delegat

The StatementEventHandler class represents the method that handles the event raised by a statement.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Delegate Sub StatementEventHandler ( _
    sender As Object, _
    e As StatementEventArgs _
)
'Usage
Dim instance As New StatementEventHandler(AddressOf HandlerMethod)
public delegate void StatementEventHandler(
    Object sender,
    StatementEventArgs e
)
public delegate void StatementEventHandler(
    Object^ sender, 
    StatementEventArgs^ e
)
type StatementEventHandler = 
    delegate of 
        sender:Object * 
        e:StatementEventArgs -> unit
JScript unterstützt die Verwendung von Delegaten, aber nicht die Deklaration neuer Delegaten.

Parameter