Evento StatementExecuted
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 (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de eventos, mas não à declaração de eventos novos.
Comentários
The event is handled by the specified event handler.
Consulte também