ReplicationLinkOperationsExtensions.FailoverAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fails over the Azure SQL Database Replication Link with the given id.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ReplicationLinkFailoverResponse> FailoverAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IReplicationLinkOperations operations, string resourceGroupName, string serverName, string databaseName, string linkId);
static member FailoverAsync : Microsoft.Azure.Management.Sql.LegacySdk.IReplicationLinkOperations * string * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ReplicationLinkFailoverResponse>
<Extension()>
Public Function FailoverAsync (operations As IReplicationLinkOperations, resourceGroupName As String, serverName As String, databaseName As String, linkId As String) As Task(Of 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.