Megosztás a következőn keresztül:


AccountConsistency Class

Definition

Represents the consistency policy of a database account of the Azure Cosmos DB service.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonAccountConsistencyConverter))]
public class AccountConsistency
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonAccountConsistencyConverter))>]
type AccountConsistency = class
Public Class AccountConsistency
Inheritance
AccountConsistency
Attributes

Constructors

AccountConsistency()

Properties

DefaultConsistencyLevel

Get or set the default consistency level in the Azure Cosmos DB service.

MaxStalenessIntervalInSeconds

For bounded staleness consistency, the maximum allowed staleness in terms time interval in the Azure Cosmos DB service.

MaxStalenessPrefix

For bounded staleness consistency, the maximum allowed staleness in terms difference in sequence numbers (aka version) in the Azure Cosmos DB service.

Applies to