Share via


IWithShardKey<ParentT>.WithShardKeys Method

Definition

Appends all shard keys to current shard keys.

public Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<ParentT> WithShardKeys (System.Collections.Generic.IDictionary<string,string> shardKeys);
abstract member WithShardKeys : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<'ParentT>
Public Function WithShardKeys (shardKeys As IDictionary(Of String, String)) As IWithAttach(Of ParentT)

Parameters

shardKeys
IDictionary<String,String>

The shard keys needs appending.

Returns

The next stage of the definition.

Applies to