Evento ConnectionManager.StatementExecuted
The event that occurs when the instance of SQL Server executes a statement on the current connection.
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Public Event StatementExecuted As StatementEventHandler
'Utilizzo
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 supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.
Osservazioni
The event is handled by the specified event handler.