ConnectionPolicy.UseMultipleWriteLocations Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the flag to enable writes on any locations (regions) for geo-replicated database accounts in the Azure Cosmos DB service.
public bool UseMultipleWriteLocations { get; set; }
member this.UseMultipleWriteLocations : bool with get, set
Public Property UseMultipleWriteLocations As Boolean
Property Value
Remarks
When the value of this property is true, the SDK will direct write operations to available writable locations of geo-replicated database account. Writable locations are ordered by PreferredLocations property. Setting the property value to true has no effect until Microsoft.Azure.Documents.DatabaseAccount.EnableMultipleWriteLocations is also set to true.
Applies to
Azure SDK for .NET