SqlServer.UpdateStages.WithDatabase Interface

public interface WithDatabase

A SQL Server definition for specifying the databases.

Method Summary

Modifier and Type Method and Description
SqlServer.Update withNewDatabase(String databaseName)

Create new database in the SQL Server.

SqlServer.Update withoutDatabase(String databaseName)

Remove database from the SQL Server.

Method Details

withNewDatabase

public Update withNewDatabase(String databaseName)

Create new database in the SQL Server.

Parameters:

databaseName - name of the database to be created

Returns:

Next stage of the SQL Server update

withoutDatabase

public 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