Share via


IWithSqlServer.WithExistingSqlServer Method

Definition

Overloads

WithExistingSqlServer(ISqlServer)

Sets the parent SQL server for the new Server DNS alias.

WithExistingSqlServer(String, String)

Sets the parent SQL server name and resource group it belongs to.

WithExistingSqlServer(ISqlServer)

Sets the parent SQL server for the new Server DNS alias.

public Microsoft.Azure.Management.Sql.Fluent.SqlServerDnsAliasOperations.Definition.IWithCreate WithExistingSqlServer (Microsoft.Azure.Management.Sql.Fluent.ISqlServer sqlServer);
abstract member WithExistingSqlServer : Microsoft.Azure.Management.Sql.Fluent.ISqlServer -> Microsoft.Azure.Management.Sql.Fluent.SqlServerDnsAliasOperations.Definition.IWithCreate
Public Function WithExistingSqlServer (sqlServer As ISqlServer) As IWithCreate

Parameters

sqlServer
ISqlServer

The parent SQL server.

Returns

Applies to

WithExistingSqlServer(String, String)

Sets the parent SQL server name and resource group it belongs to.

public Microsoft.Azure.Management.Sql.Fluent.SqlServerDnsAliasOperations.Definition.IWithCreate WithExistingSqlServer (string resourceGroupName, string sqlServerName);
abstract member WithExistingSqlServer : string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlServerDnsAliasOperations.Definition.IWithCreate
Public Function WithExistingSqlServer (resourceGroupName As String, sqlServerName As String) As IWithCreate

Parameters

resourceGroupName
String

The name of the resource group the parent SQL server.

sqlServerName
String

The parent SQL server name.

Returns

Applies to