Dela via


SqlMetaData.SortOrdinal Property

Definition

Returns the ordinal of the sort column.

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

Property Value

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