StatementExecuted 事件
The event that occurs when the instance of SQL Server executes a statement on the current connection.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Event StatementExecuted As StatementEventHandler
用法
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 支持使用事件,但不支持声明新事件。
注释
The event is handled by the specified event handler.