Zdarzenie DacStore.DacActionInitialized
Zwraca zdarzeń przy ich inicjowaniu do czasu stanu z metody DacStore Install(), Uninstall() i Upgrade().
Przestrzeń nazw: Microsoft.SqlServer.Management.Dac
Zestaw: Microsoft.SqlServer.Management.Dac (w Microsoft.SqlServer.Management.Dac.dll)
Składnia
'Deklaracja
Public Event DacActionInitialized As EventHandler(Of DacActionEventArgs)
'Użycie
Dim instance As DacStore
Dim handler As EventHandler(Of DacActionEventArgs)
AddHandler instance.DacActionInitialized, handler
public event EventHandler<DacActionEventArgs> DacActionInitialized
public:
event EventHandler<DacActionEventArgs^>^ DacActionInitialized {
void add (EventHandler<DacActionEventArgs^>^ value);
void remove (EventHandler<DacActionEventArgs^>^ value);
}
member DacActionInitialized : IEvent<EventHandler<DacActionEventArgs>,
DacActionEventArgs>
Język JScript obsługuje używanie zdarzeń, ale nie obsługuje deklarowania nowych.
Uwagi
Zarejestruj się w obsługa zdarzeń śledzenie instalacji, odinstalowywania i uaktualnienie zdarzeń według ich zainicjowany.