Partilhar via


Construtor MergePullSubscription (String, String, String, String, ServerConnection)

Creates a new instance of the MergePullSubscription class with the specified database, Publisher, publication, and Subscriber connection.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    subscriptionDBName As String, _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String, _
    subscriberConnectionContext As ServerConnection _
)
'Uso
Dim subscriptionDBName As String 
Dim publisherName As String 
Dim publicationDBName As String 
Dim publicationName As String 
Dim subscriberConnectionContext As ServerConnection 

Dim instance As New MergePullSubscription(subscriptionDBName, _
    publisherName, publicationDBName, _
    publicationName, subscriberConnectionContext)
public MergePullSubscription(
    string subscriptionDBName,
    string publisherName,
    string publicationDBName,
    string publicationName,
    ServerConnection subscriberConnectionContext
)
public:
MergePullSubscription(
    String^ subscriptionDBName, 
    String^ publisherName, 
    String^ publicationDBName, 
    String^ publicationName, 
    ServerConnection^ subscriberConnectionContext
)
new : 
        subscriptionDBName:string * 
        publisherName:string * 
        publicationDBName:string * 
        publicationName:string * 
        subscriberConnectionContext:ServerConnection -> MergePullSubscription
public function MergePullSubscription(
    subscriptionDBName : String, 
    publisherName : String, 
    publicationDBName : String, 
    publicationName : String, 
    subscriberConnectionContext : ServerConnection
)

Parâmetros

  • publicationDBName
    Tipo: System.String
    A String value that specifies the name of the publication database.
  • publicationName
    Tipo: System.String
    A String value that specifies the name of the publication.

Consulte também

Referência

MergePullSubscription Classe

Sobrecarregado MergePullSubscription

Namespace Microsoft.SqlServer.Replication