Udostępnij za pośrednictwem


PublicationMonitor Members

Monitors a publication.

The following tables list the members exposed by the PublicationMonitor type.

Public Constructors

  Name Description
PublicationMonitor Overloaded. Creates a new instance of the PublicationMonitor class.

Top

Public Properties

  Name Description
ms156583.pubproperty(en-US,SQL.90).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms156583.pubproperty(en-US,SQL.90).gif CacheRefreshPolicy  
ms156583.pubproperty(en-US,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156583.pubproperty(en-US,SQL.90).gif Description Gets the textual description of the publication.
ms156583.pubproperty(en-US,SQL.90).gif DistributionDBName Gets the name of the distribution database used by the publication.
ms156583.pubproperty(en-US,SQL.90).gif ExcludeAnonymousSubscriptions Gets or sets whether anonymous subscriptions are excluded from or included in the monitor results.
ms156583.pubproperty(en-US,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms156583.pubproperty(en-US,SQL.90).gif Name Gets or sets the name of the monitored publication.
ms156583.pubproperty(en-US,SQL.90).gif PublicationDBName Gets or sets the name of the publication database.
ms156583.pubproperty(en-US,SQL.90).gif PublisherName Gets or sets the name of the Publisher.
ms156583.pubproperty(en-US,SQL.90).gif QueueReaderAgentName  
ms156583.pubproperty(en-US,SQL.90).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms156583.pubproperty(en-US,SQL.90).gif Status Gets the status of the publication.
ms156583.pubproperty(en-US,SQL.90).gif StatusAndWarning Gets the status and warnings of the referenced publication on the Distributor, including all of the agents associated for the publication.
ms156583.pubproperty(en-US,SQL.90).gif Type Gets the type of replication in which the publication participates.
ms156583.pubproperty(en-US,SQL.90).gif UserData  Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms156583.pubmethod(en-US,SQL.90).gif ChangeMonitorThreshold Changes the monitoring threshold metric for a publication.
ms156583.pubmethod(en-US,SQL.90).gif CleanUpTracerTokenHistory Overloaded. Removes metadata for tracer tokens from a database published using transactional replication.
ms156583.pubmethod(en-US,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156583.pubmethod(en-US,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms156583.pubmethod(en-US,SQL.90).gif EnumErrorRecords Returns information about errors associated with a specified error ID that occurred during a synchronization session.
ms156583.pubmethod(en-US,SQL.90).gif EnumLogReaderAgent Returns information for the Log Reader Agent job used by the monitored publication.
ms156583.pubmethod(en-US,SQL.90).gif EnumMonitorThresholds Returns the replication monitor thresholds defined for this publication.
ms156583.pubmethod(en-US,SQL.90).gif EnumQueueReaderAgent Returns information for the Queue Reader Agent job used by the monitored publication.
ms156583.pubmethod(en-US,SQL.90).gif EnumSnapshotAgent Returns information for the Snapshot Agent job used by the monitored publication.
ms156583.pubmethod(en-US,SQL.90).gif EnumSubscriptions Returns information on subscriptions that are subscribed to the monitored publication.
ms156583.pubmethod(en-US,SQL.90).gif EnumSubscriptions2 Returns additional information on subscriptions that are subscribed to the monitored publication.
ms156583.pubmethod(en-US,SQL.90).gif EnumTracerTokenHistory Returns Subscriber latency information for a single tracer token record inserted into a monitored transactional publication.
ms156583.pubmethod(en-US,SQL.90).gif EnumTracerTokens Returns all tracer tokens that have been inserted into the monitored transactional publication.
ms156583.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156583.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms156583.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms156583.pubmethod(en-US,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156583.pubmethod(en-US,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156583.pubmethod(en-US,SQL.90).gifms156583.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156583.pubmethod(en-US,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms156583.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )
ms156583.pubmethod(en-US,SQL.90).gif TransPendingCommandInfo Returns information about pending commands for a subscription.

Top

Protected Methods

  Name Description
ms156583.protmethod(en-US,SQL.90).gif CheckValidCreation  (inherited from ReplicationObject )
ms156583.protmethod(en-US,SQL.90).gif CheckValidDefinition  (inherited from ReplicationObject )
ms156583.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms156583.protmethod(en-US,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms156583.protmethod(en-US,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms156583.protmethod(en-US,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms156583.protmethod(en-US,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms156583.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

PublicationMonitor Class
Microsoft.SqlServer.Replication Namespace

Other Resources

How to: Programmatically Monitor Replication (RMO Programming)