MergePublication.MakePullSubscriptionWellKnown 메서드

Registers a merge pull subscription at the Publisher.

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

public void MakePullSubscriptionWellKnown(
	string subscriber,
	string subscriptionDB,
	SubscriptionSyncType syncType,
	MergeSubscriberType subscriberType,
	float priority
)

매개 변수

subscriber
유형: System.String
The Subscriber where the pull subscription was created.
subscriptionDB
유형: System.String
The subscription database in which the pull subscription was created.
syncType
유형: Microsoft.SqlServer.Replication.SubscriptionSyncType
The option for how the subscription synchronization is performed.
subscriberType
유형: Microsoft.SqlServer.Replication.MergeSubscriberType
A MergeSubscriberType object that specifies whether the subscription to register is a local or global subscription.
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.

커뮤니티 추가 항목

추가
표시: