Gets the name of the current database.
Visual Basic
Public Overrides Readonly Property Database As String
C#
public override string Database { get;}
If the connection is opened, SAConnection returns the name of the current database. Otherwise, SAConnection looks in the connection string in the following order: DatabaseName, DBN, DataSourceName, DataSource, DSN, DatabaseFile, DBF.