Service.ManagementStateChange 이벤트
An event that occurs when the management state changes.
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)
구문
‘선언
Public Event ManagementStateChange As CompletedEventHandler
‘사용 방법
Dim instance As Service
Dim handler As CompletedEventHandler
AddHandler instance.ManagementStateChange, handler
public event CompletedEventHandler ManagementStateChange
public:
event CompletedEventHandler^ ManagementStateChange {
void add (CompletedEventHandler^ value);
void remove (CompletedEventHandler^ value);
}
member ManagementStateChange : IEvent<CompletedEventHandler,
CompletedEventArgs>
Jscript는 이벤트 사용을 지원하지만 새로운 이벤트 선언은 지원하지 않습니다.