共用方式為


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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。