PublicationMonitor Members
Monitors a publication.
The following tables list the members exposed by the PublicationMonitor type.
Public Constructors
名称 | Description | |
---|---|---|
PublicationMonitor | Overloaded. Creates a new instance of the PublicationMonitor 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) | |
Description | Gets the textual description of the publication. | |
DistributionDBName | Gets the name of the distribution database used by the publication. | |
ExcludeAnonymousSubscriptions | Gets or sets whether anonymous subscriptions are excluded from or included in the monitor results. | |
IsExistingObject | Gets whether the object exists on the server or not. (inherited from ReplicationObject) | |
Name | Gets or sets the name of the monitored publication. | |
PublicationDBName | Gets or sets the name of the publication database. | |
PublisherName | Gets or sets the name of the Publisher. | |
QueueReaderAgentName | ||
SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | |
Status | Gets the status of the publication. | |
StatusAndWarning | Gets the status and warnings of the referenced publication on the Distributor, including all of the agents associated for the publication. | |
Type | Gets the type of replication in which the publication participates. | |
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 | |
---|---|---|
ChangeMonitorThreshold | Changes the monitoring threshold metric for a publication. | |
CleanUpTracerTokenHistory | Overloaded. Removes metadata for tracer tokens from a database published using transactional replication. | |
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) | |
EnumErrorRecords | Returns information about errors associated with a specified error ID that occurred during a synchronization session. | |
EnumLogReaderAgent | Returns information for the Log Reader Agent job used by the monitored publication. | |
EnumMonitorThresholds | Returns the replication monitor thresholds defined for this publication. | |
EnumQueueReaderAgent | Returns information for the Queue Reader Agent job used by the monitored publication. | |
EnumSnapshotAgent | Returns information for the Snapshot Agent job used by the monitored publication. | |
EnumSubscriptions | Returns information on subscriptions that are subscribed to the monitored publication. | |
EnumSubscriptions2 | Returns additional information on subscriptions that are subscribed to the monitored publication. | |
EnumTracerTokenHistory | Returns Subscriber latency information for a single tracer token record inserted into a monitored transactional publication. | |
EnumTracerTokens | Returns all tracer tokens that have been inserted into the monitored transactional publication. | |
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) | |
ToString | (inherited from Object ) | |
TransPendingCommandInfo | Returns information about pending commands for a subscription. |
顶部
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 ) |
顶部
请参阅
参考
PublicationMonitor Class
Microsoft.SqlServer.Replication Namespace
其他资源
How to: Programmatically Monitor Replication (RMO Programming)