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

IndexingPolicy.CompositeIndexes 属性

定义

获取其他索引的复合索引

public System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Azure.Cosmos.CompositePath>> CompositeIndexes { get; }
member this.CompositeIndexes : System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Azure.Cosmos.CompositePath>>
Public ReadOnly Property CompositeIndexes As Collection(Of Collection(Of CompositePath))

属性值

示例

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

适用于