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)

public enum Direction

Member nameDescription

The query result set is sorted in ascending sequence.


The query result set is sorted in descending sequence.

The OrderBy.Direction enumeration is set by using the P: Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy.Dir property.

Return to top