SortOrder Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use the Microsoft.Data.SqlClient package instead.
Specifies how rows of data are sorted.
public enum class SortOrder
public enum SortOrder
[System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public enum SortOrder
type SortOrder =
[<System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")>]
type SortOrder =
Public Enum SortOrder
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unspecified | -1 | The default. No sort order is specified. |
Ascending | 0 | Rows are sorted in ascending order. |
Descending | 1 | Rows are sorted in descending order. |
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.