AgentCore.StatusEventHandler Delegado
Delegate that handles the Status event that is raised during agent execution.
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Sintaxis
'Declaración
<ComVisibleAttribute(False)> _
Public Delegate Sub StatusEventHandler ( _
sender As Object, _
e As StatusEventArgs _
)
'Uso
Dim instance As New StatusEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler(
Object sender,
StatusEventArgs e
)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler(
Object^ sender,
StatusEventArgs^ e
)
[<ComVisibleAttribute(false)>]
type StatusEventHandler =
delegate of
sender:Object *
e:StatusEventArgs -> unit
JScript admite el uso de delegados, pero no la declaración de otros nuevos.
Parámetros
- sender
Tipo: System. . :: . .Object
The source of the status event.
- e
Tipo: Microsoft.SqlServer.Replication. . :: . .StatusEventArgs
A StatusEventArgs object that contains the event data.
Notas
The Status event returns a status message from the replication agent during synchronization. The AgentCore..::..StatusEventHandler returns a StatusEventArgs object when the Status event occurs during agent execution.