共用方式為


DacStore.DacActionFinished Event

Returns events as they are completed 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 DacActionFinished As EventHandler(Of DacActionEventArgs)
'用途
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>
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 complete.

See Also

Reference

DacStore Class

Microsoft.SqlServer.Management.Dac Namespace