다음을 통해 공유


MergePublication.MakePullSubscriptionWellKnown Method

Registers a merge pull subscription at the Publisher.

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

구문

‘선언
Public Sub MakePullSubscriptionWellKnown ( _
    subscriber As String, _
    subscriptionDB As String, _
    syncType As SubscriptionSyncType, _
    subscriberType As MergeSubscriberType, _
    priority As Single _
)
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
)
public void MakePullSubscriptionWellKnown (
    String subscriber, 
    String subscriptionDB, 
    SubscriptionSyncType syncType, 
    MergeSubscriberType subscriberType, 
    float priority
)
public function MakePullSubscriptionWellKnown (
    subscriber : String, 
    subscriptionDB : String, 
    syncType : SubscriptionSyncType, 
    subscriberType : MergeSubscriberType, 
    priority : float
)

매개 변수

  • subscriber
    A String value that specifies the Subscriber where the pull subscription was created.
  • subscriptionDB
    A String value that specifies the subscription database in which the pull subscription was created.
  • syncType
    A SubscriptionSyncType object that specifies how the subscription synchronization is performed.
  • subscriberType
    A MergeSubscriberType object that specifies whether the subscription to register is a local or global subscription.
  • priority
    A String value that specifies 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.

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

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

MergePublication Class
MergePublication Members
Microsoft.SqlServer.Replication Namespace

관련 자료

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