sp_dropmergepullsubscription (T-SQL)

Drops a merge pull subscription.

Syntax

sp_dropmergepullsubscription [[@publication =] 'publication']
    [,[@publisher =] 'publisher'] [,[@publisher_db =] 'publisher_db']

Arguments
[@publication =] 'publication'
Is the name of the publication. publication is sysname, with a default of NULL.
[@publisher =] 'publisher'
Is the name of the Publisher. publisher is sysname, with a default of NULL.
[@publisher_db =] 'publisher_db'
Is the name of the Publisher database. publisher_db is sysname, with a default of NULL.
Return Code Values

0 (success) or 1 (failure)

Remarks

sp_dropmergepullsubscription is used in merge replication.

sp_dropmergepullsubscription drops the agent for this merge pull subscription, although the agent is not created in sp_addmergepullsubscription. Also note that the local server and current database are assumed to be the subscriber and subscriber_db.

Permissions

Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_dropmergepullsubscription.

See Also
sp_addmergepullsubscription sp_helpmergepullsubscription
sp_changemergepullsubscription System Stored Procedures

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.