Skip to main content

Get Client Configuration Operation (for database)

  • It is recommended to first refer to the client-configuration description in the put client-configuration article.

  • Use GetClientConfigurationOperation to get the current client-configuration set on the server for the database.

  • In this page:

Get client-configuration

// Define the get client-configuration operation 
var getClientConfigOp = new GetClientConfigurationOperation();

// Execute the operation by passing it to Maintenance.Send
GetClientConfigurationOperation.Result result = store.Maintenance.Send(getClientConfigOp);

ClientConfiguration clientConfiguration = result.Configuration;

Syntax

public GetClientConfigurationOperation()
// Executing the operation returns the following object: 
public class Result
{
// The configuration Etag
public long Etag { get; set; }

// The current client-configuration deployed on the server for the database
public ClientConfiguration Configuration { get; set; }
}