다음을 통해 공유


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.dll의 Microsoft.SqlServer.ConnectionInfo

구문

‘선언
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.