IWithConsistencyPolicy.WithBoundedStalenessConsistency(Int64, Int32) Method
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.
The bounded staleness consistency policy for the CosmosDB account.
public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithWriteReplication WithBoundedStalenessConsistency (long maxStalenessPrefix, int maxIntervalInSeconds);
abstract member WithBoundedStalenessConsistency : int64 * int -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithWriteReplication
Public Function WithBoundedStalenessConsistency (maxStalenessPrefix As Long, maxIntervalInSeconds As Integer) As IWithWriteReplication
Parameters
- maxStalenessPrefix
- Int64
The max staleness prefix.
- maxIntervalInSeconds
- Int32
The max interval in seconds.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET