For array based replication, Site Recovery Manager organizes datastore groups to collect files associated with protected virtual machines. You configure array based replication by associating datastore groups with protection groups. All virtual machines in a datastore group replicate files together, and all virtual machines recover together.

Configure the host based replication (vSphere replication) for one virtual machine by associating it with a protection group, or you can configure multiple virtual machines by associating their folder or datacenter with a protection group.

You should configure vvol replication by associating replication groups with the protection groups.

Use the methods AssociateVms and UnassociateVms with the host based replication, but not with array based and vvol replications.