This method retrieves the history of a given recovery plan.

Synopsis

RecoveryPlanHistory getHistory(RecoveryPlan plan)

plan is the Recovery Plan of interest.

RecoveryPlanHistory is the history of the given Recovery Plan.

Faults

  • RecoveryPlanNotFound
  • RuntimeFault

See Faults in Site Recovery Manager API for more details.

Example for GetHistory

ManagedObjectReference history = srmPortType.getHistory(
  ManagedObjectReference _this,
  ManagedObjectReference plan);

Where ManagedObjectReference _this = _recoveryRef;
where _recoveryRef can be taken from:
  SrmServiceInstanceContent content = _srmPortType.retrieveContent(_svcRef);
ManagedObjectReference _recoveryRef = content.getRecovery();