Share via


FailoverGroupOperationsExtensions.ForceFailoverAllowDataLoss Method

Definition

Issue the forced failover operation with data loss for the Azure SQL Database Failover Group with the given name.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.FailoverGroupForceFailoverResponse ForceFailoverAllowDataLoss (this Microsoft.Azure.Management.Sql.LegacySdk.IFailoverGroupOperations operations, string resourceGroupName, string serverName, string failoverGroupName);
static member ForceFailoverAllowDataLoss : Microsoft.Azure.Management.Sql.LegacySdk.IFailoverGroupOperations * string * string * string -> Microsoft.Azure.Management.Sql.LegacySdk.Models.FailoverGroupForceFailoverResponse
<Extension()>
Public Function ForceFailoverAllowDataLoss (operations As IFailoverGroupOperations, resourceGroupName As String, serverName As String, failoverGroupName As String) As FailoverGroupForceFailoverResponse

Parameters

operations
IFailoverGroupOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IFailoverGroupOperations.

resourceGroupName
String

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

serverName
String

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

failoverGroupName
String

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

Returns

Response for long running Azure Sql Database Failover Group operation.

Applies to