SqlServer.DefinitionStages.WithDatabase Interface

public static interface SqlServer.DefinitionStages.WithDatabase

A SQL Server definition for specifying the databases.

Method Summary

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

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

abstract WithCreate withNewDatabase(String databaseName)

Creates new database in the SQL Server.

Method Details

defineDatabase

public abstract 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 abstract SqlServer.DefinitionStages.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