Condividi tramite


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

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

Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    connectionContext As ServerConnection, _
    subscriberDBName As String, _
    publisherName As String, _
    publicationName As String, _
    publisherDBName As String _
)
public MergeSubscriberMonitor (
    ServerConnection connectionContext,
    string subscriberDBName,
    string publisherName,
    string publicationName,
    string publisherDBName
)
public:
MergeSubscriberMonitor (
    ServerConnection^ connectionContext, 
    String^ subscriberDBName, 
    String^ publisherName, 
    String^ publicationName, 
    String^ publisherDBName
)
public MergeSubscriberMonitor (
    ServerConnection connectionContext, 
    String subscriberDBName, 
    String publisherName, 
    String publicationName, 
    String publisherDBName
)
public function MergeSubscriberMonitor (
    connectionContext : ServerConnection, 
    subscriberDBName : String, 
    publisherName : String, 
    publicationName : String, 
    publisherDBName : String
)

Parametri

  • connectionContext
    A ServerConnection object that represents a connection to the instance of Microsoft SQL Server that is the Subscriber.
  • subscriberDBName
    Name of the subscription database.
  • publisherName
    Name of the Publisher.
  • publicationName
    Name of the publication to which the subscription belongs.
  • publisherDBName
    Name of the publication database.

Osservazioni

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

MergeSubscriberMonitor Class
MergeSubscriberMonitor Members
Microsoft.SqlServer.Replication Namespace

Altre risorse

Subscriber Monitor Sample