次の方法で共有


ContainerPartitionKey コンストラクター

定義

オーバーロード

ContainerPartitionKey()

ContainerPartitionKey クラスの新しいインスタンスを初期化します。

ContainerPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)

ContainerPartitionKey クラスの新しいインスタンスを初期化します。

ContainerPartitionKey()

ContainerPartitionKey クラスの新しいインスタンスを初期化します。

public ContainerPartitionKey ();
Public Sub New ()

適用対象

ContainerPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)

ContainerPartitionKey クラスの新しいインスタンスを初期化します。

public ContainerPartitionKey (System.Collections.Generic.IList<string> paths = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind kind = default, int? version = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.ContainerPartitionKey : System.Collections.Generic.IList<string> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind * Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.ContainerPartitionKey
Public Sub New (Optional paths As IList(Of String) = Nothing, Optional kind As PartitionKind = Nothing, Optional version As Nullable(Of Integer) = Nothing)

パラメーター

paths
IList<String>

コンテナー内のどのデータをパーティション分割できるかを使用するパスの一覧

kind
PartitionKind

パーティション分割に使用されるアルゴリズムの種類を示します。 使用可能な値は次のとおりです: 'Hash'、'Range'

version
Nullable<Int32>

パーティション キー定義のバージョンを示します

適用対象