ListChildRecoveryPlans

Returns an array of
RecoveryPlan
objects located within this folder.

Synopsis

RecoveryPlan[] listChildRecoveryPlans( )
RecoveryPlan[]
is the array of Recovery Plans within this folder. If the current session does not have the
System.View
privilege for a
RecoveryPlan
, it is removed from the result set. For more information, see Recovery Plan.

Faults

  • RuntimeFault
For information about the faults that
Site Recovery Manager
throws, see Faults in Site Recovery Manager API.
Example for ListChildRecoveryPlans
List < ManagedObjectReference > childPlans = srmPortType.listChildRecoveryPlans(ManagedObjectReference _this); Where ManagedObjectReference _this = _recoveryPlanRootFolderRef; where _recoveryPlanRootFolderRef can be taken from: SrmServiceInstanceContent content = _srmPortType.retrieveContent(_svcRef); ManagedObjectReference _recoveryRef = content.getRecovery(); ManagedObjectReference _recoveryPlanRootFolderRef = srmPortType.getRecoveryPlanRootFolder(_recoveryRef);