Force the removal of Replication Agent objects that remain after a script execution failure.
When you invoke the ra_admin command with the deinit keyword, Replication Agent creates the partdeinit.sql script. When Replication Agent executes this script successfully, all Replication Agent objects are removed from the primary database. In the event that the partdeinit.sql script fails for some reason, some Replication Agent objects may be removed from the primary database and some Replication Agent objects may remain. To finish removing Replication Agent objects after a script execution failure:
ra_admin deinit, force