다음을 통해 공유


ISqlServerDnsAliasActionsDefinition.AcquireAsync Method

Definition

Acquires server DNS alias from another server asynchronously.

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

Parameters

dnsAliasName
String

The name of the Server DNS alias.

sqlServerId
String

The id of the other SQL server that the DNS alias was pointing to.

cancellationToken
CancellationToken

Returns

Applies to