다음을 통해 공유


MergePublication.MakePullSubscriptionWellKnown 메서드

Registers a merge pull subscription at the Publisher.

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

구문

‘선언
Public Sub MakePullSubscriptionWellKnown ( _
    subscriber As String, _
    subscriptionDB As String, _
    syncType As SubscriptionSyncType, _
    subscriberType As MergeSubscriberType, _
    priority As Single _
)
‘사용 방법
Dim instance As MergePublication 
Dim subscriber As String 
Dim subscriptionDB As String 
Dim syncType As SubscriptionSyncType 
Dim subscriberType As MergeSubscriberType 
Dim priority As Single

instance.MakePullSubscriptionWellKnown(subscriber, _
    subscriptionDB, syncType, subscriberType, _
    priority)
public void MakePullSubscriptionWellKnown(
    string subscriber,
    string subscriptionDB,
    SubscriptionSyncType syncType,
    MergeSubscriberType subscriberType,
    float priority
)
public:
void MakePullSubscriptionWellKnown(
    String^ subscriber, 
    String^ subscriptionDB, 
    SubscriptionSyncType syncType, 
    MergeSubscriberType subscriberType, 
    float priority
)
member MakePullSubscriptionWellKnown : 
        subscriber:string * 
        subscriptionDB:string * 
        syncType:SubscriptionSyncType * 
        subscriberType:MergeSubscriberType * 
        priority:float32 -> unit
public function MakePullSubscriptionWellKnown(
    subscriber : String, 
    subscriptionDB : String, 
    syncType : SubscriptionSyncType, 
    subscriberType : MergeSubscriberType, 
    priority : float
)

매개 변수

  • subscriber
    유형: System.String
    The Subscriber where the pull subscription was created.
  • subscriptionDB
    유형: System.String
    The subscription database in which the pull subscription was created.
  • priority
    유형: System.Single
    The weighting of the pull subscription to resolve conflicts when more than one change occurs in the same replicated data.

주의

Use EnumSubscriptions to determine if a subscription is already registered at the Publisher. If the registration exists, MakePullSubscriptionWellKnown generates an error at the server.

The MakePullSubscriptionWellKnown method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Calling MakePullSubscriptionWellKnown is equivalent to executing sp_addmergesubscription to register the pull subscription.

참고 항목

참조

MergePublication 클래스

Microsoft.SqlServer.Replication 네임스페이스

관련 자료

방법: 끌어오기 구독 만들기(RMO Programming)