IWithShardKey<ParentT>.WithShardKey メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
WithShardKey(String) |
既定のパーティションの種類 "Hash" を持つシャード キーを指定します。 |
WithShardKey(String, String) |
シャード キーを指定します。 |
WithShardKey(String)
既定のパーティションの種類 "Hash" を持つシャード キーを指定します。
public Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<ParentT> WithShardKey (string shardKey);
abstract member WithShardKey : string -> Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<'ParentT>
Public Function WithShardKey (shardKey As String) As IWithAttach(Of ParentT)
パラメーター
- shardKey
- String
シャード キー。
戻り値
定義の次のステージ。
適用対象
WithShardKey(String, String)
シャード キーを指定します。
public Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<ParentT> WithShardKey (string shardKey, string partitionKind);
abstract member WithShardKey : string * string -> Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<'ParentT>
Public Function WithShardKey (shardKey As String, partitionKind As String) As IWithAttach(Of ParentT)
パラメーター
- shardKey
- String
シャード キー。
- partitionKind
- String
パーティションの種類は、api-version 2019-08-01 でのみ "Hash" パーティションの種類をサポートします。
戻り値
定義の次のステージ。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET