Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StatusEventArgs Class

Topic Status: Some information in this topic is pre-release and subject to change in future releases. Pre-release information describes new features or changes to existing features in Microsoft SQL Server 2014.

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)

public class StatusEventArgs : EventArgs, 

The StatusEventArgs type exposes the following members.

Public methodStatusEventArgs()Creates a new instance of the StatusEventArgs class.
Public methodStatusEventArgs(String, Byte, MessageStatus)Creates a new instance of the StatusEventArgs class with the provided replication agent status information.

Public propertyMessageThe status message returned by the replication agent.
Public propertyMessageStatusThe current operational status of the replication agent.
Public propertyPercentCompletedThe estimated amount of the overall synchronization that has completed.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.

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

Community Additions

© 2015 Microsoft