DTS Programming
TaskName Property
The TaskName property specifies the name of the task to execute.
Applies To
| Step Object | Step2 Object |
Syntax
object.TaskName [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Name of the task to execute |
Data Type
String
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetTaskName(BSTR *pRetVal);
HRESULT SetTaskName(BSTR NewValue);
Remarks
The TaskName property is the link between the Task object and the step that contains it. Typically, set:
Step2.TaskName = Task.Name