Use the ReplicationInstance object to query the state, status, and results of a replication, such as the number of bytes or files sent or received.
You get access to the ReplicationInstance object by calling either the ReplicationProject.EnumReplications method or the ReplicationServer.EnumReplications method.