CosmosClientBuilder.WithConsistencyLevel(ConsistencyLevel) メソッド

定義

これは、読み取り操作のデータベース アカウントの整合性レベルを弱めるために使用できます。 これが設定されていない場合は、データベース アカウントの整合性レベルがすべての要求に使用されます。

public Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder WithConsistencyLevel (Microsoft.Azure.Cosmos.ConsistencyLevel consistencyLevel);
member this.WithConsistencyLevel : Microsoft.Azure.Cosmos.ConsistencyLevel -> Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder
Public Function WithConsistencyLevel (consistencyLevel As ConsistencyLevel) As CosmosClientBuilder

パラメーター

consistencyLevel
ConsistencyLevel

クライアントに必要な整合性レベル。

戻り値

現在の CosmosClientBuilder です。

適用対象