MergeSubscriberMonitor Members

Enables Subscriber-side monitoring of subscriptions to merge publications.

The following tables list the members exposed by the MergeSubscriberMonitor type.

Public Constructors

  名称 Description
MergeSubscriberMonitor Overloaded. Creates a new instance of the MergeSubscriberMonitor class.

顶部

Public Properties

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

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms156799.pubmethod(zh-cn,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156799.pubmethod(zh-cn,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms156799.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156799.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms156799.pubmethod(zh-cn,SQL.90).gif GetLastSessionSummary Returns information on the most recent Merge Agent session as a MergeSessionSummary object.
ms156799.pubmethod(zh-cn,SQL.90).gif GetLastSessionSummaryDataRow Returns information on the most recent Merge Agent session as a DataRow object.
ms156799.pubmethod(zh-cn,SQL.90).gif GetSessionDetails Returns detailed information on a Merge Agent session as an array of MergeSessionDetail objects.
ms156799.pubmethod(zh-cn,SQL.90).gif GetSessionDetailsDataSet Returns detailed information on a Merge Agent session as an DataSet object.
ms156799.pubmethod(zh-cn,SQL.90).gif GetSessionsSummary Overloaded. Returns summary information on Merge Agent sessions.
ms156799.pubmethod(zh-cn,SQL.90).gif GetSessionsSummaryDataSet Overloaded. Returns summary information on Merge Agent sessions using a DataSet object.
ms156799.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms156799.pubmethod(zh-cn,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156799.pubmethod(zh-cn,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156799.pubmethod(zh-cn,SQL.90).gifms156799.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156799.pubmethod(zh-cn,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms156799.pubmethod(zh-cn,SQL.90).gif RefreshSessionSummary Overloaded. Refreshes Merge Agent session information from the Subscriber.
ms156799.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms156799.protmethod(zh-cn,SQL.90).gif CheckValidCreation  (inherited from ReplicationObject )
ms156799.protmethod(zh-cn,SQL.90).gif CheckValidDefinition  (inherited from ReplicationObject )
ms156799.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms156799.protmethod(zh-cn,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms156799.protmethod(zh-cn,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms156799.protmethod(zh-cn,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms156799.protmethod(zh-cn,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms156799.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

MergeSubscriberMonitor Class
Microsoft.SqlServer.Replication Namespace

其他资源

How to: Programmatically Monitor Replication (RMO Programming)
Subscriber Monitor Sample