Catalog.GetDatabase(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the database with the specified name.
Calling GetDatabase
gives you access to the hive database name, description and
location.
public Microsoft.Spark.Sql.Catalog.Database GetDatabase (string dbName);
member this.GetDatabase : string -> Microsoft.Spark.Sql.Catalog.Database
Public Function GetDatabase (dbName As String) As Database
Parameters
- dbName
- String
Name of the database to get.
Returns
Database
object which includes the name, description and locationUri of
the database.