FailoverGroupOperationsExtensions.BeginFailoverAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FailoverGroupFailoverResponse> BeginFailoverAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IFailoverGroupOperations operations, string resourceGroupName, string serverName, string failoverGroupName);
static member BeginFailoverAsync : Microsoft.Azure.Management.Sql.LegacySdk.IFailoverGroupOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.FailoverGroupFailoverResponse>
<Extension()>
Public Function BeginFailoverAsync (operations As IFailoverGroupOperations, resourceGroupName As String, serverName As String, failoverGroupName As String) As Task(Of 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