Partilhar via


SqlElasticPool.UpdateStages.WithDatabase Interface

public static interface SqlElasticPool.UpdateStages.WithDatabase

The SQL Elastic Pool definition to add the Database in the elastic pool.

Method Summary

Modifier and Type Method and Description
abstract Update withExistingDatabase(SqlDatabase database)

Adds the database in the SQL elastic pool.

abstract Update withExistingDatabase(String databaseName)

Adds an existing database in the SQL elastic pool.

abstract Update withNewDatabase(String databaseName)

Creates a new database in the SQL elastic pool.

Method Details

withExistingDatabase

public abstract SqlElasticPool.Update withExistingDatabase(SqlDatabase database)

Adds the database in the SQL elastic pool.

Parameters:

database - database instance to be added in SQL elastic pool

Returns:

The next stage of the definition.

withExistingDatabase

public abstract SqlElasticPool.Update withExistingDatabase(String databaseName)

Adds an existing database in the SQL elastic pool.

Parameters:

databaseName - name of the existing database to be added in the elastic pool

Returns:

The next stage of the definition.

withNewDatabase

public abstract SqlElasticPool.Update withNewDatabase(String databaseName)

Creates a new database in the SQL elastic pool.

Parameters:

databaseName - name of the new database to be added in the elastic pool

Returns:

The next stage of the definition.

Applies to