ConnectionPolicy.EnableReadRequestsFallback Property


Gets or sets whether to allow for reads to go to multiple regions configured on an account of Azure Cosmos DB service.

public bool? EnableReadRequestsFallback { get; set; }
member this.EnableReadRequestsFallback : Nullable<bool> with get, set
Public Property EnableReadRequestsFallback As Nullable(Of Boolean)

Property Value


Default value is null.


If this property is not set, the default is true for all Consistency Levels other than Bounded Staleness, The default is false for Bounded Staleness. This property only has effect if the following conditions are satisifed: 1. EnableEndpointDiscovery is true 2. the Azure Cosmos DB account has more than one region

Applies to