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<Sql |
defineDatabase(String databaseName)
Begins the definition of a new SQL Database to be added to this server. |
Sql |
withNewDatabase(String databaseName)
Creates new database in the SQL Server. |
Method Details
defineDatabase
public SqlDatabase.DefinitionStages.Blank
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java