Export (0) Print
Expand All

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
AscThe query result set is sorted in ascending sequence.
DescThe query result set is sorted in descending sequence.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft