ConsistencyPolicy Class

Definition

Represents the consistency policy of a database account of the Azure DocumentDB database service.

public sealed class ConsistencyPolicy : Microsoft.Azure.Documents.JsonSerializable
Inheritance
ConsistencyPolicy

Inherited Members

Microsoft.Azure.Documents.JsonSerializable

Constructors

ConsistencyPolicy()

Default constructor for ConsistencyPolicy class in the Azure DocumentDB database service.

Properties

DefaultConsistencyLevel

Get or set the default consistency level in the Azure DocumentDB database service.

MaxStalenessIntervalInSeconds

For bounded staleness consistency, the maximum allowed staleness in terms time interval in the Azure DocumentDB database service.

MaxStalenessPrefix

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

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)