New Method (DTS)

The New method creates a new collection or object.

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

Syntax

Varies. See Remarks.

Remarks

Elements and data types vary according to the object or collection. For example, the New method of the Connections collection creates a new, empty Connection object. The syntax for the method is:

object.New( ProviderID As String ) As Connection

where

object
Is an expression that evaluates to a Connections collection.
ProviderID
Is the class name (or programmatic ID) of an OLE DB provider.

For more information about syntax of any specific New method, see Dtspkg.h and Automation controller syntax completion or other assistance.

  


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