/// <summary> /// Initializes a new instance of the <see cref="ASRRecoveryPoint" /> class. /// </summary> /// <param name="recoveryPoint">Recovery point object to read values from.</param> public ASRRecoveryPoint(RecoveryPoint recoveryPoint) { this.ID = recoveryPoint.Id; this.Name = recoveryPoint.Name; this.Type = recoveryPoint.Type; this.RecoveryPointTime = recoveryPoint.Properties.RecoveryPointTime; this.RecoveryPointType = recoveryPoint.Properties.RecoveryPointType; }
/// <summary> /// Write Recovery Point. /// </summary> /// <param name="recoveryPoint">Recovery point.</param> private void WriteRecoveryPoint(RecoveryPoint recoveryPoint) { this.WriteObject(new ASRRecoveryPoint(recoveryPoint)); }