SqlFailoverGroup.UpdateStages.WithDatabase Interface

public static interface SqlFailoverGroup.UpdateStages.WithDatabase

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

Method Summary

Modifier and Type Method and Description
abstract Update withDatabaseIds(String[] ids)

Sets the SQL Failover Group partner servers.

abstract Update withNewDatabaseId(String id)

Sets the SQL Failover Group database.

abstract Update withoutDatabaseId(String id)

Removes the SQL Failover Group database.

Method Details

withDatabaseIds

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