Partilhar via


StatusEventArgs Class

Represents status information returned by a replication agent when the Status event occurs.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public Class StatusEventArgs
    Inherits EventArgs
    Implements IStatusEventData
[ComVisibleAttribute(true)] 
[GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458")] 
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] 
public class StatusEventArgs : EventArgs, IStatusEventData
[ComVisibleAttribute(true)] 
[GuidAttribute(L"4afb1751-f142-4698-902a-bd19f3492458")] 
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] 
public ref class StatusEventArgs : public EventArgs, IStatusEventData
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) */ 
public class StatusEventArgs extends EventArgs implements IStatusEventData
ComVisibleAttribute(true) 
GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458") 
ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) 
public class StatusEventArgs extends EventArgs implements IStatusEventData

Remarks

The Status event returns a status message, status code, and percentage complete information from the replication agent during synchronization. The AgentCore.StatusEventHandler returns a StatusEventArgs object when the Status event occurs during agent execution.

Inheritance Hierarchy

System.Object
   System.EventArgs
    Microsoft.SqlServer.Replication.StatusEventArgs

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

StatusEventArgs Members
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