共用方式為


MongoDBCollectionResource.ShardKey Property

Definition

Gets or sets a key-value pair of shard keys to be applied for the request.

[Newtonsoft.Json.JsonProperty(PropertyName="shardKey")]
public System.Collections.Generic.IDictionary<string,string> ShardKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="shardKey")>]
member this.ShardKey : System.Collections.Generic.IDictionary<string, string> with get, set
Public Property ShardKey As IDictionary(Of String, String)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to