Add Method (DTS)

The Add method adds an object to a collection.

Applies To
Columns Collection PrecedenceConstraints Collection
Connections Collection Steps Collection
GlobalVariables Collection Tasks Collection
Lookups Collection Transformations Collection

Syntax

object.Add(Object)

Part Description
package_collection Expression that evaluates to an object in the Applies To list
Object Object to add to the collection

Remarks

Before you add an object to a collection, you must create it by a call to package_collection.New.

Prototype (C/C++)

HRESULT Add(IDTSStep *Object);

  


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