IReplicationLinkOperations.BeginFailoverAllowDataLossAsync Method

Definition

Begins a forced failover of the Azure SQL Database Replication Link with the given id which may result in data loss.

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

Parameters

resourceGroupName
String

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

serverName
String

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

databaseName
String

The name of the Azure SQL Database that has the replication link to be failed over.

linkId
String

The id of the replication link to be failed over.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for long running Azure Sql Database replication failover operations.

Applies to