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

SqlFailoverGroupOperations.DefinitionStages.WithDatabase Interface

public static interface SqlFailoverGroupOperations.DefinitionStages.WithDatabase

The SQL Failover Group definition to set the partner servers.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withDatabaseId(String id)

Sets the SQL Failover Group database.

abstract WithCreate withDatabaseIds(String[] ids)

Sets the SQL Failover Group partner servers.

Method Details

withDatabaseId

public abstract SqlFailoverGroupOperations.DefinitionStages.WithCreate withDatabaseId(String id)

Sets the SQL Failover Group database.

Parameters:

id - the ID of the database

Returns:

The next stage of the definition.

withDatabaseIds

public abstract SqlFailoverGroupOperations.DefinitionStages.WithCreate withDatabaseIds(String[] ids)

Sets the SQL Failover Group partner servers.

Parameters:

ids - the IDs of the databases

Returns:

the next stage of the definition

Applies to