FailoverGroupOperationsExtensions.Failover Method

Definition

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

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

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 failovered.

Returns

Response for long running Azure Sql Database Failover Group operation.

Applies to