Compartilhar via


ISqlFailoverGroupOperations.FailoverAsync Método

Definição

Faz failover assíncrono do servidor primário atual para esse servidor.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.ISqlFailoverGroup> FailoverAsync (string resourceGroupName, string serverName, string failoverGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member FailoverAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.ISqlFailoverGroup>
Public Function FailoverAsync (resourceGroupName As String, serverName As String, failoverGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISqlFailoverGroup)

Parâmetros

resourceGroupName
String

O nome do grupo de recursos que contém o recurso.

serverName
String

O nome do servidor que contém o grupo de failover.

failoverGroupName
String

O nome do grupo de failover.

cancellationToken
CancellationToken

Retornos

Aplica-se a