Compartilhar via


IWithShardKey<ParentT>.WithShardKeys Método

Definição

Acrescenta todas as chaves de fragmento às chaves de fragmento atuais.

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)

Parâmetros

shardKeys
IDictionary<String,String>

As chaves de fragmento precisam ser acrescentadas.

Retornos

O próximo estágio da definição.

Aplica-se a