MergePublication.RemovePullSubscription 메서드

Removes the registration of a Subscriber with a pull subscription to the merge publication.

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

public void RemovePullSubscription(
	string subscriber,
	string subscriptionDB

매개 변수

유형: System.String
The name of the registered Subscriber.
유형: System.String
The name of the subscription database.

The RemovePullSubscription 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 RemovePullSubscription is equivalent to executing sp_dropmergesubscription.