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
System.String

The name of the Server DNS alias.

oldSqlServerId
System.String

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

newSqlServerId
System.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
System.String

The name of the resource group that contains the resource.

serverName
System.String

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

dnsAliasName
System.String

The name of the Server DNS alias.

sqlServerId
System.String

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

Applies to