Freigeben über


StatementExecuted-Ereignis

The event that occurs when the instance of SQL Server executes a statement on the current connection.

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

Syntax

'Declaration
Public Event StatementExecuted As StatementEventHandler
'Usage
Dim instance As ConnectionManager
Dim handler As StatementEventHandler

AddHandler instance.StatementExecuted, handler
public event StatementEventHandler StatementExecuted
public:
 event StatementEventHandler^ StatementExecuted {
    void add (StatementEventHandler^ value);
    void remove (StatementEventHandler^ value);
}
member StatementExecuted : IEvent<StatementEventHandler,
    StatementEventArgs>
JScript unterstützt die Verwendung von Ereignissen, aber nicht die Deklaration neuer Ereignisse.

Hinweise

The event is handled by the specified event handler.