Compartilhar via


ISqlServerDnsAliasActionsDefinition.AcquireAsync Método

Definição

Adquire o alias DNS do servidor de outro servidor de forma assíncrona.

public System.Threading.Tasks.Task AcquireAsync (string dnsAliasName, string sqlServerId, System.Threading.CancellationToken cancellationToken = default);
abstract member AcquireAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AcquireAsync (dnsAliasName As String, sqlServerId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

dnsAliasName
String

O nome do alias DNS do servidor.

sqlServerId
String

A ID do outro SQL Server para o qual o alias DNS apontava.

cancellationToken
CancellationToken

Retornos

Aplica-se a