Sdílet prostřednictvím


DacStore.DacActionStarted Event

Returns events as they start running for the DacStore Install(), Uninstall(), and Upgrade() methods.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Event DacActionStarted As EventHandler(Of DacActionEventArgs)
'Usage
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>
JScript supports the use of events, but not the declaration of new ones.

Remarks

Register for the event handler to track install, uninstall, and upgrade events as they start running.