You are currently browsing legacy 5.0 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: How to Get Client Configuration

GetClientConfigurationOperation is used to return a client configuration, which is saved on the server and overrides client behavior.


public GetClientConfigurationOperation()

public class Result
    public long Etag { get; set; }

    public ClientConfiguration Configuration { get; set; }
Return Value
Etag string Etag of configuration
Configuration ClientConfiguration configuration which will be used by the client API


GetClientConfigurationOperation.Result config = store.Maintenance.Send(new GetClientConfigurationOperation());
ClientConfiguration clientConfiguration = config.Configuration;