Edytuj

Udostępnij za pośrednictwem


SortOrder Enum

Definition

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
SortOrder
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