The removeFolderMapping method removes a folder mapping. The method does not check whether the folders in the mapping exist on the protected and recovery sites. You can use the method to remove broken mappings.

Synopsis

void removeFolderMapping(Folder primaryFolder)

The primaryFolder parameter specifies the folder on the primary site whose mapping must be deleted.

Faults

  • RuntimeFault

For information about the faults that Site Recovery Manager throws, see Faults in Site Recovery Manager API.