Export (0) Print
Expand All

StatusEventArgs Class

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

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

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

[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ComVisibleAttribute(true)]
public class StatusEventArgs : EventArgs, 
	IStatusEventData

The StatusEventArgs type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

  NameDescription
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.)
Top

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

ADD
Show:
© 2014 Microsoft