SqlMetaData.SortOrdinal Property

Definition

Returns the ordinal of the sort column.

public int SortOrdinal { get; }
member this.SortOrdinal : int
Public ReadOnly Property SortOrdinal As Integer

Property Value

Int32

The ordinal of the sort column.

Remarks

The default is 1.

This property can only be set in one of the SqlMetaData constructors.

For more information, see Table-Valued Parameters.

Applies to