Jaa


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)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub StatusEventHandler ( _
    sender As Object, _
    e As StatusEventArgs _
)
[ComVisibleAttribute(false)] 
public delegate void StatusEventHandler (
    Object sender,
    StatusEventArgs e
)
[ComVisibleAttribute(false)] 
public delegate void StatusEventHandler (
    Object^ sender, 
    StatusEventArgs^ e
)
/** @delegate */
/** @attribute ComVisibleAttribute(false) */ 
public delegate void StatusEventHandler (
    Object sender, 
    StatusEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    The source of the status event.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Replication Namespace

Other Resources

How to: Synchronize a Pull Subscription (RMO Programming)
How to: Synchronize a Push Subscription (RMO Programming)
Sales Orders Sample Implementation Details