SqlFailoverGroup.UpdateStages.WithDatabase Interface

public interface WithDatabase

The SQL Failover Group update definition to set the partner servers.

Method Summary

Modifier and Type Method and Description
SqlFailoverGroup.Update withDatabaseIds(String... ids)

Sets the SQL Failover Group partner servers.

SqlFailoverGroup.Update withNewDatabaseId(String id)

Sets the SQL Failover Group database.

SqlFailoverGroup.Update withoutDatabaseId(String id)

Removes the SQL Failover Group database.

Method Details

withDatabaseIds

public SqlFailoverGroup.Update withDatabaseIds(String... ids)

Sets the SQL Failover Group partner servers.

Parameters:

ids - the IDs of the databases

Returns:

the next stage of the definition

withNewDatabaseId

public SqlFailoverGroup.Update withNewDatabaseId(String id)

Sets the SQL Failover Group database.

Parameters:

id - the ID of the database

Returns:

The next stage of the definition.

withoutDatabaseId

public SqlFailoverGroup.Update withoutDatabaseId(String id)

Removes the SQL Failover Group database.

Parameters:

id - the ID of the database to be removed

Returns:

The next stage of the definition.

Applies to