/// <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 BeginReprotect(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName) { return(operations.BeginReprotectAsync(recoveryPlanName).GetAwaiter().GetResult()); }