SQL-DMO

MergePublications Collection

Methods
Add Method Remove Method (Collections)
ItemByID Method Script Method (Replication Objects)
Refresh Method  

Remarks

With the MergePublications collection, you can:

To delete a merge publication

  1. Get a MergePublication object from the MergePublications collection of a connected ReplicationDatabase object.

  2. Use the Remove method.