PublisherMonitor Members

Monitors a replication Publisher.

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

Public Constructors

  名称 Description
PublisherMonitor Overloaded. Creates a new instance of the PublisherMonitor class.

顶部

Public Properties

  名称 Description
ms158286.pubproperty(zh-cn,SQL.90).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms158286.pubproperty(zh-cn,SQL.90).gif CacheRefreshPolicy  
ms158286.pubproperty(zh-cn,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms158286.pubproperty(zh-cn,SQL.90).gif DistributionDatabase Gets the name of the distribution database used by the Publisher.
ms158286.pubproperty(zh-cn,SQL.90).gif ExcludeAnonymousSubscriptions Gets whether or not information on anonymous subscriptions is returned.
ms158286.pubproperty(zh-cn,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms158286.pubproperty(zh-cn,SQL.90).gif Name Gets the name of the Publisher.
ms158286.pubproperty(zh-cn,SQL.90).gif PublicationMonitors Represents a collection of PublicationMonitor objects, each of which represents a publication defined at the Publisher being monitored.
ms158286.pubproperty(zh-cn,SQL.90).gif PublisherType Gets the type of the database server that is the Publisher.
ms158286.pubproperty(zh-cn,SQL.90).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms158286.pubproperty(zh-cn,SQL.90).gif StatusAndWarning Gets status information and warnings for the monitored threshold metrics on the Publisher.
ms158286.pubproperty(zh-cn,SQL.90).gif 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
ms158286.pubmethod(zh-cn,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms158286.pubmethod(zh-cn,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms158286.pubmethod(zh-cn,SQL.90).gif EnumDatabasePublications Returns information about publications that use a specified publication database.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumDatabaseSubscriptions Returns information on subscriptions that belong to publications that use a specified publication database.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumDistributionAgentSessionDetails Returns detailed information about a Distribution Agent session.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumDistributionAgentSessions Returns information about Distribution Agent sessions.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumErrorRecords Returns information on errors associated with a specified error ID that occurred during a synchronization session.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumLogReaderAgentSessionDetails Returns detailed information about a Log Reader Agent session.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumLogReaderAgentSessions Returns information about Log Reader Agent sessions.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumMergeAgentSessionDetails Returns detailed information about a Merge Agent session.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumMergeAgentSessionDetails2 Returns additional detailed information about a Merge Agent session.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumMergeAgentSessions Returns information about Merge Agent sessions.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumMergeAgentSessions2 Returns additional information about Merge Agent sessions.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumPublications Returns information on publications at a monitored Publisher.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumPublications2 Returns additional information on publications at a monitored Publisher.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumSnapshotAgentSessionDetails Returns detailed information about a Snapshot Agent session.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumSnapshotAgentSessions Returns information about Snapshot Agent sessions.
ms158286.pubmethod(zh-cn,SQL.90).gif EnumSubscriptions Returns information about subscriptions that belong to a publication at the monitored Publisher.
ms158286.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms158286.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms158286.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms158286.pubmethod(zh-cn,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms158286.pubmethod(zh-cn,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms158286.pubmethod(zh-cn,SQL.90).gifms158286.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms158286.pubmethod(zh-cn,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms158286.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms158286.protmethod(zh-cn,SQL.90).gif CheckValidCreation  (inherited from ReplicationObject )
ms158286.protmethod(zh-cn,SQL.90).gif CheckValidDefinition  (inherited from ReplicationObject )
ms158286.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms158286.protmethod(zh-cn,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms158286.protmethod(zh-cn,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms158286.protmethod(zh-cn,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms158286.protmethod(zh-cn,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms158286.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

PublisherMonitor Class
Microsoft.SqlServer.Replication Namespace

其他资源

How to: Programmatically Monitor Replication (RMO Programming)