Drops a merge publication and its associated Snapshot Agent. All subscriptions must be dropped before dropping merge publications. The articles in the publication are dropped automatically.
sp_dropmergepublication [@publication =] 'publication'
[,[@ignore_distributor =] ignore_distributor]
0 (success) or 1 (failure)
sp_dropmergepublication is used in merge replication.
Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_dropmergepublication.
sp_addmergepublication | sp_helpmergepublication |
sp_changemergepublication | System Stored Procedures |