Share via


IFailoverGroupOperations.BeginForceFailoverAllowDataLossAsync Method

Definition

Begins the force failover operation without data loss for the Azure SQL Database Failover Group with the given name.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FailoverGroupForceFailoverResponse> BeginForceFailoverAllowDataLossAsync (string resourceGroupName, string serverName, string failoverGroupName, System.Threading.CancellationToken cancellationToken);
abstract member BeginForceFailoverAllowDataLossAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FailoverGroupForceFailoverResponse>
Public Function BeginForceFailoverAllowDataLossAsync (resourceGroupName As String, serverName As String, failoverGroupName As String, cancellationToken As CancellationToken) As Task(Of FailoverGroupForceFailoverResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the Azure SQL Database Server belongs.

serverName
String

The name of the Azure SQL Database Server on which the Azure SQL Database Failover Group is hosted.

failoverGroupName
String

The name of the Azure SQL Database Failover Group to be failovered.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for long running Azure Sql Database Failover Group operation.

Applies to