see on GitHub

Commands : How to get database configuration?

GetDatabaseConfiguration from admin database commands can be used to retrieve database configuration.

Syntax

RavenJObject GetDatabaseConfiguration();

Return Value
RavenJObject Database configuration in JSON format

Example

RavenJObject configuration = store
	.DatabaseCommands
	.Admin
	.GetDatabaseConfiguration();