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.