IWithSqlServer.WithExistingSqlServer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET