You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Commands: How to get names of all databases on a server?

To download all available database names from a server, use the GetDatabaseNames command from GlobalAdmin.


string[] GetDatabaseNames(int pageSize, int start = 0);
pageSize int Maximum number of records that will be downloaded
start int Number of records that should be skipped. Default: 0
Return Value
string[] Names of all databases on a server


string[] databaseNames = store