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 | |
---|---|---|
MergeSubscriberMonitor(ServerConnection) | Creates an instance of the MergeSubscriberMonitor class with a connection to the Subscriber. | |
MergeSubscriberMonitor(ServerConnection, String, String, String, String) | Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription. |
Top
Properties
Name | Description | |
---|---|---|
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.) |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
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 | Returns detailed information on a Merge Agent session as an array of MergeSessionDetail objects. | |
GetSessionDetailsDataSet | 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. | |
GetType | (Inherited from Object.) | |
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. | |
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.
See Also
Reference
Microsoft.SqlServer.Replication Namespace