Udostępnij za pośrednictwem


IWithShardKey.WithShardKeys(IDictionary<String,String>) Method

Definition

Appends all shard keys to current shard keys.

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

Parameters

shardKeys
IDictionary<String,String>

The shard keys needs appending.

Returns

The next stage of the update.

Applies to