/// <summary> /// Execute reprotect of the recovery plan. /// </summary> /// <remarks> /// The operation to reprotect(reverse replicate) a recovery plan. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='recoveryPlanName'> /// Recovery plan name. /// </param> public static RecoveryPlan Reprotect(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName) { return(operations.ReprotectAsync(recoveryPlanName).GetAwaiter().GetResult()); }