Класс ReplicationMonitor

Monitors a replication server.

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Replication. . :: . .ReplicationObject
    Microsoft.SqlServer.Replication..::..ReplicationMonitor

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public NotInheritable Class ReplicationMonitor _
    Inherits ReplicationObject
'Применение
Dim instance As ReplicationMonitor
public sealed class ReplicationMonitor : ReplicationObject
public ref class ReplicationMonitor sealed : public ReplicationObject
[<SealedAttribute>]
type ReplicationMonitor =  
    class
        inherit ReplicationObject
    end
public final class ReplicationMonitor extends ReplicationObject

Тип ReplicationMonitor обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ReplicationMonitor() () () () Creates a new instance of the ReplicationMonitor class.
Открытый метод ReplicationMonitor(ServerConnection) Creates a new instance of the ReplicationMonitor class with the specified connection to the instance of Microsoft SQL Server.

В начало

Свойства

  Имя Описание
Открытое свойство CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Производный от ReplicationObject.)
Открытое свойство CacheRefreshPolicy Инфраструктура.
Открытое свойство ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Производный от ReplicationObject.)
Открытое свойство ExcludeAnonymousSubscriptions Gets whether or not information on anonymous subscriptions is returned.
Открытое свойство IsExistingObject Gets whether the object exists on the server or not. (Производный от ReplicationObject.)
Открытое свойство Name Gets the name of the instance of Microsoft SQL Server that is currently connected.
Открытое свойство PublisherMonitors Gets a collection of PublisherMonitor objects that are used to monitor Publishers that use a monitored Distributor.
Открытое свойство SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Производный от ReplicationObject.)
Открытое свойство Status Gets the overall status of replication on the Distributor, including all Publishers that use the Distributor.
Открытое свойство UserData Gets or sets an object property that allows users to attach their own data to the object. (Производный от ReplicationObject.)

В начало

Методы

  Имя Описание
Защищенный метод CheckValidCreation Инфраструктура. (Производный от ReplicationObject.)
Защищенный метод CheckValidDefinition Инфраструктура. (Производный от ReplicationObject.)
Открытый метод CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Производный от ReplicationObject.)
Открытый метод Decouple Decouples the referenced replication object from the server. (Производный от ReplicationObject.)
Открытый метод EnumDistributionAgents Returns information on Distribution Agent jobs at the monitored Distributor.
Открытый метод EnumErrorRecords Returns information on errors associated with a specified error ID that occurred during a synchronization session.
Открытый метод EnumLogReaderAgents Returns information on Log Reader Agent jobs at the monitored Distributor.
Открытый метод EnumMergeAgents Returns information on Merge Agent jobs at the monitored Distributor.
Открытый метод EnumMiscellaneousAgents Returns information on jobs for miscellaneous replication agents at the monitored Distributor.
Открытый метод EnumPublishers Returns information on the Publishers that use the monitored Distributor.
Открытый метод EnumPublishers2 Returns a list of Publishers that use the currently connected server as the Distributor.
Открытый метод EnumQueueReaderAgents Returns information on Queue Reader Agent jobs at the monitored Distributor.
Открытый метод EnumQueueReaderAgentSessionDetails Returns detailed information about a Queue Reader Agent session.
Открытый метод EnumQueueReaderAgentSessions Returns a list of information about the Queue Reader Agent sessions, including status and statistical information.
Открытый метод EnumSnapshotAgents Returns information on Snapshot Agent jobs at the monitored Distributor.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Защищенный метод GetChangeCommand Инфраструктура. (Производный от ReplicationObject.)
Защищенный метод GetCreateCommand Инфраструктура. (Производный от ReplicationObject.)
Защищенный метод GetDropCommand Инфраструктура. (Производный от ReplicationObject.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод InternalRefresh Инфраструктура. (Производный от ReplicationObject.)
Открытый метод Load Loads the properties of an existing object from the server. (Производный от ReplicationObject.)
Открытый метод LoadProperties Loads the properties of an existing object from the server. (Производный от ReplicationObject.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Refresh Reloads the properties of the object. (Производный от ReplicationObject.)
Открытый метод StatusOf Returns the overall status for replication agents at the monitored Distributor by agent type.
Открытый метод ToString (Производный от Object.)

В начало

Замечания

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.