Freigeben über


MergeSubscriberMonitor-Klasse

Enables Subscriber-side monitoring of subscriptions to merge publications.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public NotInheritable Class MergeSubscriberMonitor _
    Inherits ReplicationObject
'Usage
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

Der MergeSubscriberMonitor-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode MergeSubscriberMonitor(ServerConnection) Creates an instance of the MergeSubscriberMonitor class with a connection to the Subscriber.
Öffentliche Methode MergeSubscriberMonitor(ServerConnection, String, String, String, String) Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Geerbt von ReplicationObject.)
Öffentliche Eigenschaft ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Geerbt von ReplicationObject.)
Öffentliche Eigenschaft IsExistingObject Gets whether the object exists on the server or not. (Geerbt von ReplicationObject.)
Öffentliche Eigenschaft Name Gets the name of the instance of Microsoft SQL Server to which the MergeSubscriberMonitor object is connected.
Öffentliche Eigenschaft Publication Gets or sets the name of the publication to which the subscription belongs.
Öffentliche Eigenschaft Publisher Gets or sets the name of the Publisher.
Öffentliche Eigenschaft PublisherDB Gets or sets the name of the publication database.
Öffentliche Eigenschaft SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Geerbt von ReplicationObject.)
Öffentliche Eigenschaft SubscriberDB Gets or sets the name of the subscription database.
Öffentliche Eigenschaft UserData Gets or sets an object property that allows users to attach their own data to the object. (Geerbt von ReplicationObject.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Geerbt von ReplicationObject.)
Öffentliche Methode Decouple Decouples the referenced replication object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLastSessionSummary Returns information on the most recent Merge Agent session as a MergeSessionSummary object.
Öffentliche Methode GetLastSessionSummaryDataRow Returns information on the most recent Merge Agent session as a DataRow object.
Öffentliche Methode GetSessionDetails Returns detailed information on a Merge Agent session as an array of MergeSessionDetail objects.
Öffentliche Methode GetSessionDetailsDataSet Returns detailed information on a Merge Agent session as an DataSet object.
Öffentliche Methode GetSessionsSummary() Returns all available summary information on Merge Agent sessions.
Öffentliche Methode GetSessionsSummary(Int32) Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified.
Öffentliche Methode GetSessionsSummaryDataSet() Returns summary information on all Merge Agent sessions using a DataSet object.
Öffentliche Methode 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.
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode Load Loads the properties of an existing object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode LoadProperties Loads the properties of an existing object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode Refresh Reloads the properties of the object. (Geerbt von ReplicationObject.)
Öffentliche Methode RefreshSessionSummary(DataRow%) Refreshes information in a DataRow object that represents a specific Merge Agent session.
Öffentliche Methode RefreshSessionSummary(MergeSessionSummary%) Refreshes information in a MergeSessionSummary object that represents a specific Merge Agent session.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Replication-Namespace

Andere Ressourcen

Programmgesteuertes Überwachen der Replikation (RMO-Programmierung)

Subscriber Monitor Sample