Microsoft.Search.Query 架构中的 SortByProperties 元素
上次修改时间: 2015年3月9日
适用范围: SharePoint Server 2010
本文内容
属性
子元素
父元素
元素信息
<SortByProperties>
<SortByProperty name=managedProperty direction={Ascending|Descending}>
</SortByProperty>
</SortByProperties>
属性
无。
子元素
父元素
示例
下面是 Microsoft.Search.Query 请求中的 SortByProperties 元素的示例。
<SortByProperties>
<SortByProperty name="author" direction="Ascending"></SortByProperty>
<SortByProperty name="topic" direction="Ascending"></SortByProperty>
</SortByProperties>
备注
如果没有指定托管属性用于对结果进行排序,则默认情况下将按 Rank 对结果进行排序。
元素信息
**架构名称:**Microsoft.Search.Query
适用于:QueryService.Query 方法 (Microsoft.Search.Response.Document)、QueryService.QueryEx 方法 (Dataset)
**可选:**是