ContainerProperties.PartitionKeyDefinitionVersion プロパティ

定義

を取得または設定します。 PartitionKeyDefinitionVersion

パーティション キー定義バージョン 1 では、パーティション キーの最初の 100 バイトに基づいてハッシュを計算するハッシュ関数が使用されます。 これにより、パーティション キーが 100 バイトを超えるドキュメントの競合が発生する可能性があります。

パーティション キー定義バージョン 2 では、パーティション キーの最初の 2 KB に基づいてハッシュを計算するハッシュ関数が使用されます。

[Newtonsoft.Json.JsonIgnore]
public Microsoft.Azure.Cosmos.PartitionKeyDefinitionVersion? PartitionKeyDefinitionVersion { get; set; }
[<Newtonsoft.Json.JsonIgnore>]
member this.PartitionKeyDefinitionVersion : Nullable<Microsoft.Azure.Cosmos.PartitionKeyDefinitionVersion> with get, set
Public Property PartitionKeyDefinitionVersion As Nullable(Of PartitionKeyDefinitionVersion)

プロパティ値

コンテナーのパーティション キー定義バージョン

属性
Newtonsoft.Json.JsonIgnoreAttribute

適用対象