Interface SqlServer.DefinitionStages.WithDatabase
- All Known Subinterfaces:
SqlServer.Definition
,SqlServer.DefinitionStages.WithCreate
- Enclosing interface:
- SqlServer.DefinitionStages
public static interface SqlServer.DefinitionStages.WithDatabase
A SQL Server definition for specifying the databases.
-
Method Summary
Modifier and TypeMethodDescriptiondefineDatabase
(String databaseName) Begins the definition of a new SQL Database to be added to this server.withNewDatabase
(String databaseName) Deprecated.
-
Method Details
-
defineDatabase
@Beta(V1_7_0) SqlDatabase.DefinitionStages.Blank<SqlServer.DefinitionStages.WithCreate> 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
Deprecated.Creates new database in the SQL Server.- Parameters:
databaseName
- name of the database to be created- Returns:
- Next stage of the SQL Server definition
-