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