MergePublication.RemovePullSubscription(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
member this.RemovePullSubscription : string * string -> unit
Public Sub RemovePullSubscription (subscriber As String, subscriptionDB As String)
Parameters
- subscriber
- String
The name of the registered Subscriber.
- subscriptionDB
- 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.