Compartir a través de


Clase StatusEventArgs

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Sintaxis

'Declaración
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")> _
<ComVisibleAttribute(True)> _
Public Class StatusEventArgs _
    Inherits EventArgs _
    Implements IStatusEventData
'Uso
Dim instance As StatusEventArgs
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")]
[ComVisibleAttribute(true)]
public class StatusEventArgs : EventArgs, 
    IStatusEventData
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
[GuidAttribute(L"ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")]
[ComVisibleAttribute(true)]
public ref class StatusEventArgs : public EventArgs, 
    IStatusEventData
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")>]
[<ComVisibleAttribute(true)>]
type StatusEventArgs =  
    class 
        inherit EventArgs 
        interface IStatusEventData 
    end
public class StatusEventArgs extends EventArgs implements IStatusEventData

El tipo StatusEventArgs expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público StatusEventArgs() Creates a new instance of the StatusEventArgs class.
Método público StatusEventArgs(String, Byte, MessageStatus) Creates a new instance of the StatusEventArgs class with the provided replication agent status information.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Message The status message returned by the replication agent.
Propiedad pública MessageStatus The current operational status of the replication agent.
Propiedad pública PercentCompleted The estimated amount of the overall synchronization that has completed.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Replication

Otros recursos

Cómo sincronizar una suscripción de extracción (programación con RMO)

Cómo sincronizar una suscripción de inserción (programación con RMO)

Sales Orders Sample Implementation Details