다음을 통해 공유


IWithSqlServer.WithExistingSqlServer Method

Definition

Overloads

WithExistingSqlServer(ISqlServer)

Sets the parent SQL server for the new Virtual Network Rule.

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 Virtual Network Rule.

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

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.SqlVirtualNetworkRuleOperations.Definition.IWithSubnet WithExistingSqlServer (string resourceGroupName, string sqlServerName);
abstract member WithExistingSqlServer : string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlVirtualNetworkRuleOperations.Definition.IWithSubnet
Public Function WithExistingSqlServer (resourceGroupName As String, sqlServerName As String) As IWithSubnet

Parameters

resourceGroupName
String

The name of the resource group the parent SQL server.

sqlServerName
String

The parent SQL server name.

Returns

Applies to