You are currently browsing legacy 4.0 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: Server: How to Get Server-Wide Client Configuration

GetServerWideClientConfigurationOperation is used to return a server-wide client configuration which is saved on the server and overrides the client behavior.

Note

ClientConfiguration defined at the database level overrides server-wide client configurations.

Syntax

public GetServerWideClientConfigurationOperation()

Return Value
ClientConfiguration configuration which will be used by the RavenDB Client

Example

ClientConfiguration clientConfiguration =
    store.Maintenance.Server.Send(new GetServerWideClientConfigurationOperation());