SortByProperty Element in Microsoft.Search.Query Schema for Enterprise Search
Contains a managed property for sorting the results. Applies to the Enterprise Search Query Web service. For more information, see Enterprise Search Query Web Service Overview.
<SortByProperty
name=managedProperty
direction={Ascending|Descending}>
</SortByProperty>
Attributes
Attribute | Description |
---|---|
name |
Specifies the managed property to sort on. |
direction |
Specifies the direction (Ascending or Descending) to sort the results. The default value is Ascending. |
Child Elements
None. |
Parent Elements
SortByProperties Element in Microsoft.Search.Query Schema for Enterprise Search |
Remarks
Schema name: Microsoft.Search.Query
Applies to: websvcSearch.QueryService.Query(System.String) web method (Microsoft.Search.Response.Document), websvcSearch.QueryService.QueryEx(System.String) web method (System.Data.Dataset)
Optional: Yes
See Also
Concepts
Microsoft.Search.Query Schema for Enterprise Search
Enterprise Search Query Web Service Overview