Language
C# HTTP
Article For
3.5

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
	.getDatabaseCommands()
		.getAdmin()
		.getDatabaseConfiguration();