共用方式為


ISqlServerDnsAliasOperations.Acquire Method

Definition

Overloads

Acquire(String, String, String)

Acquires server DNS alias from another server.

Acquire(String, String, String, String)

Acquires server DNS alias from another server.

Acquire(String, String, String)

Acquires server DNS alias from another server.

public void Acquire (string dnsAliasName, string oldSqlServerId, string newSqlServerId);
abstract member Acquire : string * string * string -> unit
Public Sub Acquire (dnsAliasName As String, oldSqlServerId As String, newSqlServerId As String)

Parameters

dnsAliasName
String

The name of the Server DNS alias.

oldSqlServerId
String

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

newSqlServerId
String

The id of the server that the alias is pointing to.

Applies to

Acquire(String, String, String, String)

Acquires server DNS alias from another server.

public void Acquire (string resourceGroupName, string serverName, string dnsAliasName, string sqlServerId);
abstract member Acquire : string * string * string * string -> unit
Public Sub Acquire (resourceGroupName As String, serverName As String, dnsAliasName As String, sqlServerId As String)

Parameters

resourceGroupName
String

The name of the resource group that contains the resource.

serverName
String

The name of the server that the alias is pointing to.

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.

Applies to