Evento ConnectionManager.StatementExecuted
The event that occurs when the instance of SQL Server executes a statement on the current connection.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public Event StatementExecuted As StatementEventHandler
'Uso
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 admite el uso de eventos, pero no la declaración de otros nuevos.
Comentarios
The event is handled by the specified event handler.