SqlServer.Databases Interface
public interface Databases
Entry point to databases from the SQL Server.
Method Summary
Modifier and Type | Method and Description |
---|---|
SqlDatabase.DefinitionStages.Blank |
define(String databaseName)
Creates a new database in SQL Server. |
void |
delete(String databaseName)
Delete specified database in the server. |
Completable |
deleteAsync(String databaseName)
Delete specified database in the server. |
Sql |
get(String databaseName)
Gets a particular sql database. |
List<Sql |
list()
Returns all the databases for the server. |
Method Details
define
public SqlDatabase.DefinitionStages.Blank define(String databaseName)
Creates a new database in SQL Server.
Parameters:
Returns:
delete
public void delete(String databaseName)
Delete specified database in the server.
Parameters:
deleteAsync
public Completable deleteAsync(String databaseName)
Delete specified database in the server.
Parameters:
Returns:
get
public SqlDatabase get(String databaseName)
Gets a particular sql database.
Parameters:
Returns:
list
public List
Returns all the databases for the server.
Returns:
Applies to
Azure SDK for Java