The Add method adds an object to a collection.
| Columns Collection | PrecedenceConstraints Collection |
| Connections Collection | Steps Collection |
| GlobalVariables Collection | Tasks Collection |
| Lookups Collection | Transformations Collection |
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 |
Before you add an object to a collection, you must create it by a call to package_collection.New.
HRESULT Add(IDTSStep *Object);