你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithSqlServer.WithExistingSqlServer Method

Definition

Overloads

WithExistingSqlServer(ISqlServer)

Sets the parent SQL server for the new Failover Group.

WithExistingSqlServer(String, String, String)

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

WithExistingSqlServer(ISqlServer)

Sets the parent SQL server for the new Failover Group.

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

Parameters

sqlServer
ISqlServer

The parent SQL server.

Returns

Applies to

WithExistingSqlServer(String, String, String)

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

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

Parameters

resourceGroupName
String

The name of the resource group the parent SQL server.

sqlServerName
String

The parent SQL server name.

location
String

The parent SQL server location.

Returns

Applies to