Evento Service.ManagementStateChange
An event that occurs when the management state changes.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public Event ManagementStateChange As CompletedEventHandler
'Utilizzo
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 supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.