Megosztás a következőn keresztül:


MergeSubscriberMonitor Class

Enables Subscriber-side monitoring of subscriptions to merge publications.

Inheritance Hierarchy

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

The MergeSubscriberMonitor type exposes the following members.

Constructors

  Name Description
Public method MergeSubscriberMonitor(ServerConnection) Creates an instance of the MergeSubscriberMonitor class with a connection to the Subscriber.
Public method MergeSubscriberMonitor(ServerConnection, String, String, String, String) Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription.

Top

Properties

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

Top

Methods

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

Top

Remarks

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

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.