Udostępnij za pośrednictwem


StatementEventHandler Delegate

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

'Deklaracja
Public Delegate Sub StatementEventHandler ( _
    sender As Object, _
    e As StatementEventArgs _
)
public delegate void StatementEventHandler (
    Object sender,
    StatementEventArgs e
)
public delegate void StatementEventHandler (
    Object^ sender, 
    StatementEventArgs^ e
)
/** @delegate */
public delegate void StatementEventHandler (
    Object sender, 
    StatementEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    An Object system object value that specifies the object that raised the event.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.