Ordinal Property

DTS Programming

DTS Programming

Ordinal Property

The Ordinal property specifies the ordinal position of a column in a table or rowset.

Applies To
Column Object
Syntax

object.Ordinal [= value]

Part Description
object Expression that evaluates to a Column object
value Ordinal position of a column

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetOrdinal(LONG *pRetVal);

HRESULT SetOrdinal(LONG NewValue);

Remarks

The value of the Ordinal property for the first column is 1.

See Also

ColumnID Property