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());