Поделиться через


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

В начало

Protected Methods

  Имя Description
ms158286.protmethod(ru-ru,SQL.90).gif CheckValidCreation  (inherited from ReplicationObject )
ms158286.protmethod(ru-ru,SQL.90).gif CheckValidDefinition  (inherited from ReplicationObject )
ms158286.protmethod(ru-ru,SQL.90).gif Finalize  (inherited from Object )
ms158286.protmethod(ru-ru,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms158286.protmethod(ru-ru,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms158286.protmethod(ru-ru,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms158286.protmethod(ru-ru,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms158286.protmethod(ru-ru,SQL.90).gif MemberwiseClone  (inherited from Object )

В начало

См. также

Справочник

PublisherMonitor Class
Microsoft.SqlServer.Replication Namespace

Другие ресурсы

How to: Programmatically Monitor Replication (RMO Programming)