TransPullSubscription 생성자 (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.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)


Public Sub New ( _
    subscriptionDBName As String, _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String, _
    subscriberConnectionContext As ServerConnection, _
    createDistributionAgentByDefault As Boolean _
‘사용 방법
Dim subscriptionDBName As String 
Dim publisherName As String 
Dim publicationDBName As String 
Dim publicationName As String 
Dim subscriberConnectionContext As ServerConnection 
Dim createDistributionAgentByDefault As Boolean 

Dim instance As New TransPullSubscription(subscriptionDBName, _
    publisherName, publicationDBName, _
    publicationName, subscriberConnectionContext, _
public TransPullSubscription(
    string subscriptionDBName,
    string publisherName,
    string publicationDBName,
    string publicationName,
    ServerConnection subscriberConnectionContext,
    bool createDistributionAgentByDefault
    String^ subscriptionDBName, 
    String^ publisherName, 
    String^ publicationDBName, 
    String^ publicationName, 
    ServerConnection^ subscriberConnectionContext, 
    bool createDistributionAgentByDefault
new : 
        subscriptionDBName:string * 
        publisherName:string * 
        publicationDBName:string * 
        publicationName:string * 
        subscriberConnectionContext:ServerConnection * 
        createDistributionAgentByDefault:bool -> TransPullSubscription
public function TransPullSubscription(
    subscriptionDBName : String, 
    publisherName : String, 
    publicationDBName : String, 
    publicationName : String, 
    subscriberConnectionContext : ServerConnection, 
    createDistributionAgentByDefault : boolean

매개 변수

  • subscriptionDBName
    유형: System.String
    A String value that specifies the name of the subscription database.
  • publicationDBName
    유형: System.String
    A String value that specifies the name of the publication database.
  • publicationName
    유형: System.String
    A String value that specifies the name of the publication.
  • createDistributionAgentByDefault
    유형: System.Boolean
    A Boolean value that indicates whether to create the Distribution Agent job to synchronize the subscription.

참고 항목


TransPullSubscription 클래스

TransPullSubscription 오버로드

Microsoft.SqlServer.Replication 네임스페이스