Udostępnij przez


Zdarzenie DacStore.DacActionStarted

Zwraca zdarzeń w rozpoczęciu pracy dla metod 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 DacActionStarted As EventHandler(Of DacActionEventArgs)
'Użycie
Dim instance As DacStore
Dim handler As EventHandler(Of DacActionEventArgs)

AddHandler instance.DacActionStarted, handler
public event EventHandler<DacActionEventArgs> DacActionStarted
public:
 event EventHandler<DacActionEventArgs^>^ DacActionStarted {
    void add (EventHandler<DacActionEventArgs^>^ value);
    void remove (EventHandler<DacActionEventArgs^>^ value);
}
member DacActionStarted : IEvent<EventHandler<DacActionEventArgs>,
    DacActionEventArgs>
Język JScript obsługuje używanie zdarzeń, ale nie obsługuje deklarowania nowych.

Uwagi

Zarejestrować obsługa zdarzeń śledzenia instalacji, odinstalować i uaktualniania zdarzenie, jak one uruchomione.