/// <summary> /// Execute cancel failover of the recovery plan. /// </summary> /// <remarks> /// The operation to cancel the failover of 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 BeginFailoverCancel(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName) { return(operations.BeginFailoverCancelAsync(recoveryPlanName).GetAwaiter().GetResult()); }