你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IndexingPolicy.CompositeIndexes 属性

定义

获取或设置附加组合索引

[Newtonsoft.Json.JsonProperty(PropertyName="compositeIndexes")]
public System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Microsoft.Azure.Documents.CompositePath>> CompositeIndexes { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="compositeIndexes")>]
member this.CompositeIndexes : System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Microsoft.Azure.Documents.CompositePath>> with get, set
Public Property CompositeIndexes As Collection(Of Collection(Of CompositePath))

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

示例

“composite”: [ [ { “path”: “/joining_year”, “order”: “ascending” }, { “path”: “/level”, “order”: “descending” } ], [ { “path”: “/country” }, { “path”: “/city” } ] ]

适用于