AgentCore.StatusEventHandler Delegate

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

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


<ComVisibleAttribute(False)> _
Public Delegate Sub StatusEventHandler ( _
    sender As Object, _
    e As StatusEventArgs _
Dim instance As New StatusEventHandler(AddressOf HandlerMethod)
public delegate void StatusEventHandler(
    Object sender,
    StatusEventArgs e
public delegate void StatusEventHandler(
    Object^ sender, 
    StatusEventArgs^ e
type StatusEventHandler = 
    delegate of 
        sender:Object * 
        e:StatusEventArgs -> unit
JScript supports the use of delegates, but not the declaration of new ones.



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.