PublicationMonitor Members
Monitors a publication.
The following tables list the members exposed by the PublicationMonitor type.
Public Constructors
Nome | Description | |
---|---|---|
PublicationMonitor | Overloaded. Creates a new instance of the PublicationMonitor class. |
Torna all'inizio
Public Properties
Nome | 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) |
Torna all'inizio
Public Methods
(see also Protected Methods )
Nome | 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. |
Torna all'inizio
Protected Methods
Nome | 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 ) |
Torna all'inizio
Vedere anche
Riferimento
PublicationMonitor Class
Microsoft.SqlServer.Replication Namespace
Altre risorse
How to: Programmatically Monitor Replication (RMO Programming)