共用方式為


MergeSubscriberMonitor Constructors

Definition

Creates a new instance of the MergeSubscriberMonitor class.

Overloads

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.

Remarks

This is the default constructor for the MergeSubscriberMonitor class.

MergeSubscriberMonitor(ServerConnection)

Creates an instance of the MergeSubscriberMonitor class with a connection to the Subscriber.

public:
 MergeSubscriberMonitor(Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public MergeSubscriberMonitor (Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.MergeSubscriberMonitor : Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.MergeSubscriberMonitor
Public Sub New (connectionContext As ServerConnection)

Parameters

connectionContext
ServerConnection

A ServerConnection object that represents a connection to the instance of MicrosoftSQL Server that is the Subscriber.

Remarks

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

Applies to

MergeSubscriberMonitor(ServerConnection, String, String, String, String)

Creates an instance of the MergeSubscriberMonitor class to monitor a specific subscription.

public:
 MergeSubscriberMonitor(Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext, System::String ^ subscriberDBName, System::String ^ publisherName, System::String ^ publicationName, System::String ^ publisherDBName);
public MergeSubscriberMonitor (Microsoft.SqlServer.Management.Common.ServerConnection connectionContext, string subscriberDBName, string publisherName, string publicationName, string publisherDBName);
new Microsoft.SqlServer.Replication.MergeSubscriberMonitor : Microsoft.SqlServer.Management.Common.ServerConnection * string * string * string * string -> Microsoft.SqlServer.Replication.MergeSubscriberMonitor
Public Sub New (connectionContext As ServerConnection, subscriberDBName As String, publisherName As String, publicationName As String, publisherDBName As String)

Parameters

connectionContext
ServerConnection

A ServerConnection object that represents a connection to the instance of MicrosoftSQL Server that is the Subscriber.

subscriberDBName
String

Name of the subscription database.

publisherName
String

Name of the Publisher.

publicationName
String

Name of the publication to which the subscription belongs.

publisherDBName
String

Name of the publication database.

Remarks

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

See also

Applies to