Событие 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 поддерживает использование событий, но не объявление новых.
См. также