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
'Bildirim
Public Event StatementExecuted As StatementEventHandler
'Kullanım
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 supports the use of events, but not the declaration of new ones.
Remarks
The event is handled by the specified event handler.