Compartilhar via


Delegado AgentCore.StatusEventHandler

Delegate that handles the Status event that is raised during agent execution.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)

Sintaxe

'Declaração
<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 dá suporte ao uso de representantes, mas não à declaração de representantes novos.

Parâmetros

Comentários

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.

Consulte também

Referência

Namespace Microsoft.SqlServer.Replication

Outros recursos

Como sincronizar uma assinatura pull (Programação RMO)

Como sincronizar uma assinatura push (Programação RMO)

Sales Orders Sample Implementation Details