Replication Management Objects
Replication Management Objects (RMO) is a managed code assembly that encapsulates replication functionalities for Microsoft SQL Server. All replication tasks that you can do using SQL Server Management Studio can also be done programmatically using RMO.
The following lists the replication managed assemblies, by namespace, and how they are used.
For more information about how to program replication functionality using RMO, see Programming with Replication Management Objects.