Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SortDirection Enumeration

Defines the sort direction values for ordering search results.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
public enum SortDirection
Member nameDescription
AscendingSpecifies that the search results are ordered in ascending order.
DescendingSpecifies that the search results are ordered in descending order.

Use the values from the SortDirection enumeration with the Add() method of the SortCollection class, the SortDirection() property of the Sort class, and the GetCrawlSummaryByHost() method of the GetCrawlSummaryByHost class.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.