PublisherMonitor Members

Include Protected Members
Include Inherited Members

Monitors a replication Publisher.

The PublisherMonitor type exposes the following members.

Constructors

  Name Description
Public method PublisherMonitor() Creates a new instance of the PublisherMonitor class.
Public method PublisherMonitor(String, ServerConnection) Creates a new instance of the PublisherMonitor class with the specified name and a connection to the Distributor.

Top

Methods

  Name Description
Protected method CheckValidCreation() Infrastructure. (Inherited from ReplicationObject.)
Protected method CheckValidDefinition(Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method CommitPropertyChanges() Sends all the cached property change statements to the instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Public method Decouple() Decouples the referenced replication object from the server. (Inherited from ReplicationObject.)
Public method EnumDatabasePublications(String) Returns information about publications that use a specified publication database.
Public method EnumDatabaseSubscriptions(String, PublicationType, SubscriptionResultOption) Returns information on subscriptions that belong to publications that use a specified publication database.
Public method EnumDistributionAgentSessionDetails(String, String) Returns detailed information about a Distribution Agent session.
Public method EnumDistributionAgentSessions(String, Int32, Boolean) Returns information about Distribution Agent sessions.
Public method EnumErrorRecords(Int32) Returns information on errors associated with a specified error ID that occurred during a synchronization session.
Public method EnumLogReaderAgentSessionDetails(String, String) Returns detailed information about a Log Reader Agent session.
Public method EnumLogReaderAgentSessions(String, Int32, Boolean) Returns information about Log Reader Agent sessions.
Public method EnumMergeAgentSessionDetails(String, String) Returns detailed information about a Merge Agent session.
Public method EnumMergeAgentSessionDetails2(Int32) Returns additional detailed information about a Merge Agent session.
Public method EnumMergeAgentSessions(String, Int32, Boolean) Returns information about Merge Agent sessions.
Public method EnumMergeAgentSessions2(String, Int32, Boolean) Returns additional information about Merge Agent sessions.
Public method EnumPublications() Returns information on publications at a monitored Publisher.
Public method EnumPublications2() Returns additional information on publications at a monitored Publisher.
Public method EnumSnapshotAgentSessionDetails(String, String) Returns detailed information about a Snapshot Agent session.
Public method EnumSnapshotAgentSessions(String, Int32, Boolean) Returns information about Snapshot Agent sessions.
Public method EnumSubscriptions(PublicationType, SubscriptionResultOption) Returns information about subscriptions that belong to a publication at the monitored Publisher.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Protected method GetChangeCommand(StringBuilder, String, String) Infrastructure. (Inherited from ReplicationObject.)
Protected method GetCreateCommand(StringBuilder, Boolean, ScriptOptions) Infrastructure. (Inherited from ReplicationObject.)
Protected method GetDropCommand(StringBuilder, Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method InternalRefresh(Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method Load() Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Public method LoadProperties() Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method Refresh() Reloads the properties of the object. (Inherited from ReplicationObject.)
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Inherited from ReplicationObject.)
Public property CacheRefreshPolicy Infrastructure.
Public property ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Public property DistributionDatabase Gets the name of the distribution database used by the Publisher.
Public property ExcludeAnonymousSubscriptions Gets whether or not information on anonymous subscriptions is returned.
Public property IsExistingObject Gets whether the object exists on the server or not. (Inherited from ReplicationObject.)
Public property Name Gets the name of the Publisher.
Public property PublicationMonitors Represents a collection of PublicationMonitor objects, each of which represents a publication defined at the Publisher being monitored.
Public property PublisherType Gets the type of the database server that is the Publisher.
Public property SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Inherited from ReplicationObject.)
Public property StatusAndWarning Gets status information and warnings for the monitored threshold metrics on the Publisher.
Public property UserData Gets or sets an object property that allows users to attach their own data to the object. (Inherited from ReplicationObject.)

Top