GetHistory
Last Updated February 3, 2025

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
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();