Udostępnij przez


Zdarzenie DacStore.DacActionFinished

Zwraca zdarzeń, jak wykonywane są 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 DacActionFinished As EventHandler(Of DacActionEventArgs)
'Użycie
Dim instance As DacStore
Dim handler As EventHandler(Of DacActionEventArgs)

AddHandler instance.DacActionFinished, handler
public event EventHandler<DacActionEventArgs> DacActionFinished
public:
 event EventHandler<DacActionEventArgs^>^ DacActionFinished {
    void add (EventHandler<DacActionEventArgs^>^ value);
    void remove (EventHandler<DacActionEventArgs^>^ value);
}
member DacActionFinished : 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, odinstalowywania i uaktualnić zdarzenie w miarę wykonywania.