Share via


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)

Syntax

'Declaration
Public Enumeration SortDirection
'Usage
Dim instance As SortDirection
public enum SortDirection

Members

Member name Description
Ascending Specifies that the search results are ordered in ascending order.
Descending Specifies that the search results are ordered in descending order.

Remarks

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.

See Also

Reference

Microsoft.Office.Server.Search.Query Namespace