Monitors a replication server.
The following tables list the members exposed by the ReplicationMonitor type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| ReplicationMonitor | Overloaded. Creates a new instance of the ReplicationMonitor 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) | CacheRefreshPolicy | |
| .gif) | ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .gif) | ExcludeAnonymousSubscriptions | Gets whether or not information on anonymous subscriptions is returned. | 
| .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 that is currently connected. | 
| .gif) | PublisherMonitors | Gets a collection of PublisherMonitor objects that are used to monitor Publishers that use a monitored Distributor. | 
| .gif) | SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | 
| .gif) | Status | Gets the overall status of replication on the Distributor, including all Publishers that use the Distributor. | 
| .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) | EnumDistributionAgents | Returns information on Distribution Agent jobs at the monitored Distributor. | 
| .gif) | EnumErrorRecords | Returns information on errors associated with a specified error ID that occurred during a synchronization session. | 
| .gif) | EnumLogReaderAgents | Returns information on Log Reader Agent jobs at the monitored Distributor. | 
| .gif) | EnumMergeAgents | Returns information on Merge Agent jobs at the monitored Distributor. | 
| .gif) | EnumMiscellaneousAgents | Returns information on jobs for miscellaneous replication agents at the monitored Distributor. | 
| .gif) | EnumPublishers | Returns information on the Publishers that use the monitored Distributor. | 
| .gif) | EnumPublishers2 | Returns a list of Publishers that use the currently connected server as the Distributor. | 
| .gif) | EnumQueueReaderAgents | Returns information on Queue Reader Agent jobs at the monitored Distributor. | 
| .gif) | EnumQueueReaderAgentSessionDetails | Returns detailed information about a Queue Reader Agent session. | 
| .gif) | EnumQueueReaderAgentSessions | Returns a list of information about the Queue Reader Agent sessions, including status and statistical information. | 
| .gif) | EnumSnapshotAgents | Returns information on Snapshot Agent jobs at the monitored Distributor. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from 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) | StatusOf | Returns the overall status for replication agents at the monitored Distributor by agent type. | 
| .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 ) | 
顶部
请参阅
参考
ReplicationMonitor Class
Microsoft.SqlServer.Replication Namespace
其他资源
How to: Programmatically Monitor Replication (RMO Programming)