Dela via


OrderBy.Direction Enumeration

The OrderBy.Direction enumeration contains values that represent the direction in which the results of a query are sorted; ascending or descending. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Enumeration Direction
'Usage
Dim instance As OrderBy.Direction
public enum Direction
public enum class Direction
type Direction
public enum Direction

Members

Member name Description
Asc The query result set is sorted in ascending sequence.
Desc The query result set is sorted in descending sequence.

Remarks

The OrderBy.Direction enumeration is set by using the Dir property.