CreateProcessTask2 Object

DTS Programming

DTS Programming

CreateProcessTask2 Object

The CreateProcessTask2 object runs a Microsoft® Win32® executable or batch file in the context of the Data Transformation Services (DTS) package. It is called the Execute Process Task in DTS Designer.

Extended Methods
GetExpandedProcessCommandLine Method
Remarks

The CreateProcessTask2 object extends the functionality of the CreateProcessTask Object and inherits the properties and methods of that object. In addition, the GetExpandedProcessCommandLine method returns the process command line parameter string with environment variables expanded.

For more information about when to use the CreateProcessTask object instead of the CreateProcessTask2 object, see Extended DTS Objects.