Share via


SqlServer.UpdateStages.WithDatabase Interface

public static interface SqlServer.UpdateStages.WithDatabase

A SQL Server definition for specifying the databases.

Method Summary

Modifier and Type Method and Description
abstract Blank<> defineDatabase(String databaseName)

Begins the definition of a new SQL Database to be added to this server.

abstract Update withoutDatabase(String databaseName)

Remove database from the SQL Server.

Method Details

defineDatabase

public abstract SqlDatabase.DefinitionStages.Blank<? extends SqlServer.Update> defineDatabase(String databaseName)

Begins the definition of a new SQL Database to be added to this server.

Parameters:

databaseName - the name of the new SQL Database

Returns:

the first stage of the new SQL Database definition

withoutDatabase

public abstract SqlServer.Update withoutDatabase(String databaseName)

Remove database from the SQL Server.

Parameters:

databaseName - name of the database to be removed

Returns:

Next stage of the SQL Server update

Applies to