Share 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("71B58976-D89C-41E3-8097-E9CA20A873E1")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public Class StatusEventArgs _
    Inherits EventArgs _
    Implements IStatusEventData
'Usage
Dim instance As StatusEventArgs
[ComVisibleAttribute(true)]
[GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
public class StatusEventArgs : EventArgs, 
    IStatusEventData
[ComVisibleAttribute(true)]
[GuidAttribute(L"71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
public ref class StatusEventArgs : public EventArgs, 
    IStatusEventData
[<ComVisibleAttribute(true)>]
[<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
type StatusEventArgs =  
    class
        inherit EventArgs
        interface IStatusEventData
    end
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 Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.