DacActionInitialized 事件
從 DacStore Install()、Uninstall() 和 Upgrade() 方法傳回已初始化為暫止狀態的事件。
命名空間: Microsoft.SqlServer.Management.Dac
組件: Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)
語法
'宣告
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 支援事件的使用,但不支援新事件的宣告。
備註
Register for the event handler to track install, uninstall, and upgrade events as they initialized.