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 | |
|---|---|---|
| .gif) | CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject) | 
| .gif) | ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .gif) | IsExistingObject | Gets whether the object exists on the server or not. (inherited from ReplicationObject) | 
| .gif) | Name | Gets the name of the instance of Microsoft SQL Server to which the MergeSubscriberMonitor object is connected. | 
| .gif) | Publication | Gets or sets the name of the publication to which the subscription belongs. | 
| .gif) | Publisher | Gets or sets the name of the Publisher. | 
| .gif) | PublisherDB | Gets or sets the name of the publication database. | 
| .gif) | SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | 
| .gif) | SubscriberDB | Gets or sets the name of the subscription database. | 
| .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 | |
|---|---|---|
| .gif) | CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .gif) | Decouple | Decouples the referenced replication object from the server. (inherited from ReplicationObject) | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetLastSessionSummary | Returns information on the most recent Merge Agent session as a MergeSessionSummary object. | 
| .gif) | GetLastSessionSummaryDataRow | Returns information on the most recent Merge Agent session as a DataRow object. | 
| .gif) | GetSessionDetails | Returns detailed information on a Merge Agent session as an array of MergeSessionDetail objects. | 
| .gif) | GetSessionDetailsDataSet | Returns detailed information on a Merge Agent session as an DataSet object. | 
| .gif) | GetSessionsSummary | Overloaded. Returns summary information on Merge Agent sessions. | 
| .gif) | GetSessionsSummaryDataSet | Overloaded. Returns summary information on Merge Agent sessions using a DataSet object. | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | Load | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | 
| .gif) | LoadProperties | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Refresh | Reloads the properties of the object. (inherited from ReplicationObject) | 
| .gif) | RefreshSessionSummary | Overloaded. Refreshes Merge Agent session information from the Subscriber. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | CheckValidCreation | (inherited from ReplicationObject ) | 
| .gif) | CheckValidDefinition | (inherited from ReplicationObject ) | 
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | GetChangeCommand | (inherited from ReplicationObject ) | 
| .gif) | GetCreateCommand | (inherited from ReplicationObject ) | 
| .gif) | GetDropCommand | (inherited from ReplicationObject ) | 
| .gif) | InternalRefresh | (inherited from ReplicationObject ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
MergeSubscriberMonitor Class
Microsoft.SqlServer.Replication Namespace
其他资源
How to: Programmatically Monitor Replication (RMO Programming)
Subscriber Monitor Sample