DTS Programming
ReceiveMessageTimeout Property
The ReceiveMessageTimeout property sets or returns the time after which the DTSMessageQueueTask object will terminate if a message is not found in the specified queue.
Applies To
| DTSMessageQueueTask Object |
Syntax
object.ReceiveMessageTimeout [= seconds]
| Part | Description |
|---|---|
| object | Expression that evaluates to a DTSMessageQueueTask object |
| seconds | Seconds after which task will terminate if message is not received |
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT ReceiveMessageTimeout(long* pVal);
HRESULT ReceiveMessageTimeout(long pVal);
Remarks
The property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("ReceiveMessageTimeout") [= seconds]