I have two servers:
Server 1 (Publisher)
Server 2 (Subscriber)
I have a set up a PULL subscription.
What are the correct steps to programmatically remove this entire replication?
I need to know this because I have a custom application that does Replication and in an event of errors, I need to "start fresh" so I need to delete the publication, subscription and any other objects related to it...