Language
Article For
4.0 4.1 4.2 5.0 5.2

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

PutServerWideClientConfigurationOperation is used to save a server-wide client configuration on the server. It allows you to override the client's settings remotely.

Note

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

Syntax

public PutServerWideClientConfigurationOperation(ClientConfiguration configuration)

Example

ClientConfiguration clientConfiguration = new ClientConfiguration
{
    MaxNumberOfRequestsPerSession = 100,
    ReadBalanceBehavior = ReadBalanceBehavior.FastestNode
};

store.Maintenance.Server.Send(new PutServerWideClientConfigurationOperation(clientConfiguration));