MergePublication.RemovePullSubscription(String, String) MergePublication.RemovePullSubscription(String, String) MergePublication.RemovePullSubscription(String, String) Method

Definition

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

public:
 void RemovePullSubscription(System::String ^ subscriber, System::String ^ subscriptionDB);
public void RemovePullSubscription (string subscriber, string subscriptionDB);
Public Sub RemovePullSubscription (subscriber As String, subscriptionDB As String)

Parameters

subscriber
String String String

The name of the registered Subscriber.

subscriptionDB
String String String

The name of the subscription database.

Remarks

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.

Applies to

See also