共用方式為


DacStore.DacActionInitialized Event

Returns events as they are initialized to pending status from the DacStore Install(), Uninstall(), and Upgrade() methods.

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

Syntax

'宣告
Public Event DacActionInitialized As EventHandler(Of DacActionEventArgs)
'用途
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>
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 initialized.

See Also

Reference

DacStore Class

Microsoft.SqlServer.Management.Dac Namespace