ConnectionManager.StateChange 이벤트
The event that occurs when the instance of SQL Server changes state.
네임스페이스: Microsoft.SqlServer.Management.Common
어셈블리: Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)
구문
‘선언
Public Event StateChange As StateChangeEventHandler
‘사용 방법
Dim instance As ConnectionManager
Dim handler As StateChangeEventHandler
AddHandler instance.StateChange, handler
public event StateChangeEventHandler StateChange
public:
event StateChangeEventHandler^ StateChange {
void add (StateChangeEventHandler^ value);
void remove (StateChangeEventHandler^ value);
}
member StateChange : IEvent<StateChangeEventHandler,
StateChangeEventArgs>
Jscript는 이벤트 사용을 지원하지만 새로운 이벤트 선언은 지원하지 않습니다.
주의
The event is handled by the specified event handler.