SqlFailoverGroupOperations.DefinitionStages.WithDatabase Interface

public interface WithDatabase

The SQL Failover Group definition to set the partner servers.

Method Summary

Modifier and Type Method and Description
SqlFailoverGroupOperations.DefinitionStages.WithCreate withDatabaseId(String id)

Sets the SQL Failover Group database.

SqlFailoverGroupOperations.DefinitionStages.WithCreate withDatabaseIds(String... ids)

Sets the SQL Failover Group partner servers.

Method Details

withDatabaseId

public 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 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