AgentCore.StatusEventHandler-Delegat

Delegat, der das Status-Ereignis behandelt, das während der Ausführung des Agents ausgelöst wird.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub StatusEventHandler ( _
    sender As Object, _
    e As StatusEventArgs _
)
'Usage
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 unterstützt die Verwendung von Delegaten, aber nicht die Deklaration neuer Delegaten.

Parameter

Hinweise

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.