共用方式為


IWithSqlServer.WithExistingSqlServer Method

Definition

Overloads

WithExistingSqlServer(ISqlServer)

Sets the parent SQL server for the new Firewall 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 Firewall rule.

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

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

Parameters

resourceGroupName
String

The name of the resource group the parent SQL server.

sqlServerName
String

The parent SQL server name.

Returns

Applies to