This documentation is archived and is not being maintained.

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)

public delegate void StatusEventHandler(
	Object sender,
	StatusEventArgs e


Type: System.Object
The source of the status event.
Type: Microsoft.SqlServer.Replication.StatusEventArgs
A StatusEventArgs object that contains the event data.

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.