Evento DacActionStarted
Devuelve eventos a medida que se empiezan a ejecutar para los métodos Install(), Uninstall() y Upgrade() de DacStore.
Espacio de nombres: Microsoft.SqlServer.Management.Dac
Ensamblado: Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Sintaxis
'Declaración
Public Event DacActionStarted As EventHandler(Of DacActionEventArgs)
'Uso
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 admite el uso de eventos, pero no la declaración de otros nuevos.
Comentarios
Register for the event handler to track install, uninstall, and upgrade events as they start running.