共用方式為


MergeSubscriberMonitor Class

Definition

Enables Subscriber-side monitoring of subscriptions to merge publications.

public ref class MergeSubscriberMonitor sealed : Microsoft::SqlServer::Replication::ReplicationObject
public sealed class MergeSubscriberMonitor : Microsoft.SqlServer.Replication.ReplicationObject
type MergeSubscriberMonitor = class
    inherit ReplicationObject
Public NotInheritable Class MergeSubscriberMonitor
Inherits ReplicationObject
Inheritance
MergeSubscriberMonitor

Remarks

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

Constructors

MergeSubscriberMonitor(ServerConnection, String, String, String, String)

Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription.

MergeSubscriberMonitor(ServerConnection)

Creates an instance of the MergeSubscriberMonitor class with a connection to the Subscriber.

Properties

CachePropertyChanges

Gets or sets whether to cache changes made to the replication properties or to apply them immediately.

(Inherited from ReplicationObject)
ConnectionContext

Gets or sets the connection to an instance of Microsoft SQL Server.

(Inherited from ReplicationObject)
IsExistingObject

Gets whether the object exists on the server or not.

(Inherited from ReplicationObject)
Name

Gets the name of the instance of Microsoft SQL Server to which the MergeSubscriberMonitor object is connected.

Publication

Gets or sets the name of the publication to which the subscription belongs.

Publisher

Gets or sets the name of the Publisher.

PublisherDB

Gets or sets the name of the publication database.

SqlServerName

Gets the name of the Microsoft SQL Server instance to which this object is connected.

(Inherited from ReplicationObject)
SubscriberDB

Gets or sets the name of the subscription database.

UserData

Gets or sets an object property that allows users to attach their own data to the object.

(Inherited from ReplicationObject)

Methods

CheckValidCreation()

Checks the valid replication creation.

(Inherited from ReplicationObject)
CheckValidDefinition(Boolean)

Indicates whether the definition is valid.

(Inherited from ReplicationObject)
CommitPropertyChanges()

Sends all the cached property change statements to the instance of Microsoft SQL Server.

(Inherited from ReplicationObject)
Decouple()

Decouples the referenced replication object from the server.

(Inherited from ReplicationObject)
GetChangeCommand(StringBuilder, String, String)

Returns the change command from the replication.

(Inherited from ReplicationObject)
GetCreateCommand(StringBuilder, Boolean, ScriptOptions)

Returns the create command from the replication.

(Inherited from ReplicationObject)
GetDropCommand(StringBuilder, Boolean)

Returns the drop command from the replication.

(Inherited from ReplicationObject)
GetLastSessionSummary()

Returns information on the most recent Merge Agent session as a MergeSessionSummary object.

GetLastSessionSummaryDataRow()

Returns information on the most recent Merge Agent session as a DataRow object.

GetSessionDetails(Int32)

Returns detailed information on a Merge Agent session as an array of MergeSessionDetail objects.

GetSessionDetailsDataSet(Int32)

Returns detailed information on a Merge Agent session as an DataSet object.

GetSessionsSummary()

Returns all available summary information on Merge Agent sessions.

GetSessionsSummary(Int32)

Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified.

GetSessionsSummaryDataSet()

Returns summary information on all Merge Agent sessions using a DataSet object.

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.

InternalRefresh(Boolean)

Initiates an internal refresh from the replication.

(Inherited from ReplicationObject)
Load()

Loads the properties of an existing object from the server.

(Inherited from ReplicationObject)
LoadProperties()

Loads the properties of an existing object from the server.

(Inherited from ReplicationObject)
Refresh()

Reloads the properties of the object.

(Inherited from ReplicationObject)
RefreshSessionSummary(DataRow)

Refreshes information in a DataRow object that represents a specific Merge Agent session.

RefreshSessionSummary(MergeSessionSummary)

Refreshes information in a MergeSessionSummary object that represents a specific Merge Agent session.

Applies to

See also