StatusEventArgs Class

Definition

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

public ref class StatusEventArgs : EventArgs, Microsoft::SqlServer::Replication::IStatusEventData
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("71E7B237-A9E6-4315-90E7-7BF2A7EEC838")]
public class StatusEventArgs : EventArgs, Microsoft.SqlServer.Replication.IStatusEventData
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("71E7B237-A9E6-4315-90E7-7BF2A7EEC838")>]
type StatusEventArgs = class
    inherit EventArgs
    interface IStatusEventData
Public Class StatusEventArgs
Inherits EventArgs
Implements IStatusEventData
Inheritance
StatusEventArgs
Attributes
Implements

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.

Constructors

StatusEventArgs()

Creates a new instance of the StatusEventArgs class.

StatusEventArgs(String, Byte, MessageStatus)

Creates a new instance of the StatusEventArgs class with the provided replication agent status information.

Properties

Message

The status message returned by the replication agent.

MessageStatus

The current operational status of the replication agent.

PercentCompleted

The estimated amount of the overall synchronization that has completed.

Applies to