Класс MergeSubscriberMonitor
Enables Subscriber-side monitoring of subscriptions to merge publications.
Иерархия наследования
System.Object
Microsoft.SqlServer.Replication.ReplicationObject
Microsoft.SqlServer.Replication.MergeSubscriberMonitor
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public NotInheritable Class MergeSubscriberMonitor _
Inherits ReplicationObject
'Применение
Dim instance As MergeSubscriberMonitor
public sealed class MergeSubscriberMonitor : ReplicationObject
public ref class MergeSubscriberMonitor sealed : public ReplicationObject
[<SealedAttribute>]
type MergeSubscriberMonitor =
class
inherit ReplicationObject
end
public final class MergeSubscriberMonitor extends ReplicationObject
Тип MergeSubscriberMonitor обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
MergeSubscriberMonitor(ServerConnection) | Creates an instance of the MergeSubscriberMonitor class with a connection to the Subscriber. | |
MergeSubscriberMonitor(ServerConnection, String, String, String, String) | Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription. |
В начало
Свойства
Имя | Описание | |
---|---|---|
CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Производный от ReplicationObject.) | |
ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (Производный от ReplicationObject.) | |
IsExistingObject | Gets whether the object exists on the server or not. (Производный от ReplicationObject.) | |
Name | Gets the name of the instance of Microsoft SQL Server to which the MergeSubscriberMonitor object is connected. | |
Publication | Gets or sets the name of the publication to which the subscription belongs. | |
Publisher | Gets or sets the name of the Publisher. | |
PublisherDB | Gets or sets the name of the publication database. | |
SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (Производный от ReplicationObject.) | |
SubscriberDB | Gets or sets the name of the subscription database. | |
UserData | Gets or sets an object property that allows users to attach their own data to the object. (Производный от 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.) | |
Equals | (Производный от Object.) | |
GetHashCode | (Производный от Object.) | |
GetLastSessionSummary | Returns information on the most recent Merge Agent session as a MergeSessionSummary object. | |
GetLastSessionSummaryDataRow | Returns information on the most recent Merge Agent session as a DataRow object. | |
GetSessionDetails | Returns detailed information on a Merge Agent session as an array of MergeSessionDetail objects. | |
GetSessionDetailsDataSet | Returns detailed information on a Merge Agent session as an DataSet object. | |
GetSessionsSummary() | Returns all available summary information on Merge Agent sessions. | |
GetSessionsSummary(Int32) | Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified. | |
GetSessionsSummaryDataSet() | Returns summary information on all Merge Agent sessions using a DataSet object. | |
GetSessionsSummaryDataSet(Int32) | Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified. Summary information is returned using a DataSet object. | |
GetType | (Производный от Object.) | |
Load | Loads the properties of an existing object from the server. (Производный от ReplicationObject.) | |
LoadProperties | Loads the properties of an existing object from the server. (Производный от ReplicationObject.) | |
Refresh | Reloads the properties of the object. (Производный от ReplicationObject.) | |
RefreshSessionSummary(DataRow%) | Refreshes information in a DataRow object that represents a specific Merge Agent session. | |
RefreshSessionSummary(MergeSessionSummary%) | Refreshes information in a MergeSessionSummary object that represents a specific Merge Agent session. | |
ToString | (Производный от Object.) |
В начало
Замечания
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Replication
Другие ресурсы
Наблюдение за репликацией программным образом (программирование объектов RMO)