Operations: How to Put Client Configuration
PutClientConfigurationOperation is used to save a client configuration on the server. It allows you to override client's settings remotely.
Syntax
public PutClientConfigurationOperation(ClientConfiguration configuration)
Return Value | ||
---|---|---|
configuration | ClientConfiguration |
configuration which will be used by client API |
Example
ClientConfiguration clientConfiguration = new ClientConfiguration
{
MaxNumberOfRequestsPerSession = 100,
ReadBalanceBehavior = ReadBalanceBehavior.FastestNode
};
store.Maintenance.Send(new PutClientConfigurationOperation(clientConfiguration));