The Task object defines a unit of work to be performed as part of a Data Transformation Services (DTS) package. A Task object is created in a package when the Tasks.New method is invoked with the program ID or class ID of the desired task class, followed by Tasks.Add.