AddColumn Method (DTS)

The AddColumn method adds a Column object to the collection by name and ordinal position.

Applies To
Columns Collection  

Syntax

object.AddColumn
(
Name,
Ordinal)

Part Description
Columns Expression that evaluates to an object in the Applies To list
Name Name of the column
Ordinal Ordinal position of the column

Prototype (C/C++)

HRESULT AddColumn(BSTR Name,
long Ordinal);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.