Share via


ReplicationLinkOperationsExtensions.Failover Method

Definition

Fails over the Azure SQL Database Replication Link with the given id.

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

Parameters

operations
IReplicationLinkOperations

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

resourceGroupName
String

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

serverName
String

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

databaseName
String

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

linkId
String

Required. The id of the replication link to be failed over.

Returns

Response for long running Azure Sql Database replication failover operations.

Applies to