IReplicationLinkOperations.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 System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ReplicationLinkFailoverResponse> FailoverAsync (string resourceGroupName, string serverName, string databaseName, string linkId, System.Threading.CancellationToken cancellationToken);
abstract member FailoverAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ReplicationLinkFailoverResponse>
Public Function FailoverAsync (resourceGroupName As String, serverName As String, databaseName As String, linkId As String, cancellationToken As CancellationToken) As Task(Of ReplicationLinkFailoverResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the Azure SQL Server belongs.
- serverName
- String
The name of the Azure SQL Server on which the Azure SQL Database is hosted.
- databaseName
- String
The name of the Azure SQL Database that has the replication link to be failed over.
- linkId
- String
The id of the replication link to be failed over.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Response for long running Azure Sql Database replication failover operations.