DacActionStarted 事件

开始为 DacStore Install()、Uninstall() 和 Upgrade() 方法运行事件时返回事件。

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public Event DacActionStarted As EventHandler(Of DacActionEventArgs)
用法
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 支持使用事件,但不支持声明新事件。

注释

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