Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SortDirection Enumeration

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.

Community Additions

ADD
Show:
© 2015 Microsoft