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