Udostępnij za pośrednictwem


ConnectionManager.StatementExecuted Event

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

'Deklaracja
Public Event StatementExecuted As StatementEventHandler
public event StatementEventHandler StatementExecuted
public:
event StatementEventHandler^ StatementExecuted {
    void add (StatementEventHandler^ value);
    void remove (StatementEventHandler^ value);
}
/** @event */
public void add_StatementExecuted (StatementEventHandler value)

/** @event */
public void remove_StatementExecuted (StatementEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

The event is handled by the specified event handler.

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.