Eloquera Database
GetDbList Method
NamespacesEloquera.ClientDBGetDbList()()()()
Returns a list of databases available on the current server.
Declaration Syntax
C#Visual BasicVisual C++
public string[] GetDbList()
Public Function GetDbList As String()
public:
array<String^>^ GetDbList()
Return Value
List of names of available databases.
Examples
CopyC#
DB db = new DB("server=localhost;user=sys;password=pwd;options=none;");
if (!(Array.IndexOf(db.GetDbList(), "Books") >= 0))
     db.CreateDatabase("Books");
db.OpenDatabase("Books");

Assembly: Eloquera.Client (Module: Eloquera.Client) Version: 4.5.0.0 (4.5.0.0)