CosmosClientOptions.GatewayModeMaxConnectionLimit Property


Get or set the maximum number of concurrent connections allowed for the target service endpoint in the Azure Cosmos DB service.

public int GatewayModeMaxConnectionLimit { get; set; }
member this.GatewayModeMaxConnectionLimit : int with get, set
Public Property GatewayModeMaxConnectionLimit As Integer

Property Value


Default value is 50.


This setting is only applicable in Gateway mode.

Applies to

See also