DTS Programming
TaskType Property
The TaskType property sets or returns the type of the DTSMessageQueueTask object, sender, or receiver.
Applies To
DTSMessageQueueTask Object |
Syntax
object.TaskType [= value]
Part | Description |
---|---|
Object | Expression that evaluates to a DTSMessageQueueTask object |
Value | Code that defines the task type, sender, or receiver |
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT TaskType(long* pVal);
HRESULT TaskType(long pVal);
Remarks
The valid values for this property are defined by the DTSMQType constants.
The property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("TaskType") [= value]