Compartilhar via


Classe MergeSubscriberMonitor

Enables Subscriber-side monitoring of subscriptions to merge publications.

Hierarquia de herança

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.MergeSubscriberMonitor

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public NotInheritable Class MergeSubscriberMonitor _
    Inherits ReplicationObject
'Uso
Dim instance As MergeSubscriberMonitor
public sealed class MergeSubscriberMonitor : ReplicationObject
public ref class MergeSubscriberMonitor sealed : public ReplicationObject
[<SealedAttribute>]
type MergeSubscriberMonitor =  
    class 
        inherit ReplicationObject 
    end
public final class MergeSubscriberMonitor extends ReplicationObject

O tipo MergeSubscriberMonitor expõe os membros a seguir.

Construtores

  Nome Descrição
Método público MergeSubscriberMonitor(ServerConnection) Creates an instance of the MergeSubscriberMonitor class with a connection to the Subscriber.
Método público MergeSubscriberMonitor(ServerConnection, String, String, String, String) Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription.

Início

Propriedades

  Nome Descrição
Propriedade pública CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Herdado de ReplicationObject.)
Propriedade pública ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Herdado de ReplicationObject.)
Propriedade pública IsExistingObject Gets whether the object exists on the server or not. (Herdado de ReplicationObject.)
Propriedade pública Name Gets the name of the instance of Microsoft SQL Server to which the MergeSubscriberMonitor object is connected.
Propriedade pública Publication Gets or sets the name of the publication to which the subscription belongs.
Propriedade pública Publisher Gets or sets the name of the Publisher.
Propriedade pública PublisherDB Gets or sets the name of the publication database.
Propriedade pública SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Herdado de ReplicationObject.)
Propriedade pública SubscriberDB Gets or sets the name of the subscription database.
Propriedade pública UserData Gets or sets an object property that allows users to attach their own data to the object. (Herdado de ReplicationObject.)

Início

Métodos

  Nome Descrição
Método público CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Herdado de ReplicationObject.)
Método público Decouple Decouples the referenced replication object from the server. (Herdado de ReplicationObject.)
Método público Equals (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetLastSessionSummary Returns information on the most recent Merge Agent session as a MergeSessionSummary object.
Método público GetLastSessionSummaryDataRow Returns information on the most recent Merge Agent session as a DataRow object.
Método público GetSessionDetails Returns detailed information on a Merge Agent session as an array of MergeSessionDetail objects.
Método público GetSessionDetailsDataSet Returns detailed information on a Merge Agent session as an DataSet object.
Método público GetSessionsSummary() Returns all available summary information on Merge Agent sessions.
Método público GetSessionsSummary(Int32) Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified.
Método público GetSessionsSummaryDataSet() Returns summary information on all Merge Agent sessions using a DataSet object.
Método público GetSessionsSummaryDataSet(Int32) Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified. Summary information is returned using a DataSet object.
Método público GetType (Herdado de Object.)
Método público Load Loads the properties of an existing object from the server. (Herdado de ReplicationObject.)
Método público LoadProperties Loads the properties of an existing object from the server. (Herdado de ReplicationObject.)
Método público Refresh Reloads the properties of the object. (Herdado de ReplicationObject.)
Método público RefreshSessionSummary(DataRow%) Refreshes information in a DataRow object that represents a specific Merge Agent session.
Método público RefreshSessionSummary(MergeSessionSummary%) Refreshes information in a MergeSessionSummary object that represents a specific Merge Agent session.
Método público ToString (Herdado de Object.)

Início

Comentários

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Replication

Outros recursos

Monitorar programaticamente a replicação (programação RMO)

Subscriber Monitor Sample