Compartir a través de


TransPullSubscription Constructor (String, String, String, String, ServerConnection, Boolean)

Creates a new instance of the TransPullSubscription class with the properties that define a pull subscription, and whether or not to create the agent job for the subscription.

Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    subscriptionDBName As String, _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String, _
    subscriberConnectionContext As ServerConnection, _
    createDistributionAgentByDefault As Boolean _
)
public TransPullSubscription (
    string subscriptionDBName,
    string publisherName,
    string publicationDBName,
    string publicationName,
    ServerConnection subscriberConnectionContext,
    bool createDistributionAgentByDefault
)
public:
TransPullSubscription (
    String^ subscriptionDBName, 
    String^ publisherName, 
    String^ publicationDBName, 
    String^ publicationName, 
    ServerConnection^ subscriberConnectionContext, 
    bool createDistributionAgentByDefault
)
public TransPullSubscription (
    String subscriptionDBName, 
    String publisherName, 
    String publicationDBName, 
    String publicationName, 
    ServerConnection subscriberConnectionContext, 
    boolean createDistributionAgentByDefault
)
public function TransPullSubscription (
    subscriptionDBName : String, 
    publisherName : String, 
    publicationDBName : String, 
    publicationName : String, 
    subscriberConnectionContext : ServerConnection, 
    createDistributionAgentByDefault : boolean
)

Parámetros

  • subscriptionDBName
    A String value that specifies the name of the subscription database.
  • publisherName
    A String value that specifies the name of the Publisher.
  • publicationDBName
    A String value that specifies the name of the publication database.
  • publicationName
    A String value that specifies the name of the publication.
  • subscriberConnectionContext
    A ServerConnection object that specifies Subscriber connection.
  • createDistributionAgentByDefault
    A Boolean value that indicates whether to create the Distribution Agent job to synchronize the subscription.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

TransPullSubscription Class
TransPullSubscription Members
Microsoft.SqlServer.Replication Namespace