SqlServer.DefinitionStages.WithDatabase Interface

public interface WithDatabase

A SQL Server definition for specifying the databases.

Method Summary

Modifier and Type Method and Description
SqlDatabase.DefinitionStages.Blank<SqlServer.DefinitionStages.WithCreate> defineDatabase(String databaseName)

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

SqlServer.DefinitionStages.WithCreate withNewDatabase(String databaseName)

Creates new database in the SQL Server.

Method Details

defineDatabase

public SqlDatabase.DefinitionStages.Blank 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

withNewDatabase

public WithCreate withNewDatabase(String databaseName)

Creates new database in the SQL Server.

Parameters:

databaseName - name of the database to be created

Returns:

Next stage of the SQL Server definition

Applies to