The ErrorIfReceiveMessageTimeout property sets or returns a value indicating whether an error is raised if a message is not found in the specified queue after the specified time-out value.
object.ErrorIfReceiveMessageTimeout [= boolean]
| Part | Description |
|---|---|
| object | Expression that evaluates to a DTSMessageQueueTask object |
| boolean | Boolean that specifies whether an error is raised if a message is not found in the queue after the time-out expires |
Boolean
Read/write
HRESULT GetErrorIfReceiveMessageTimeout(VARIANT_BOOL* pVal);
HRESULT GetErrorIfReceiveMessageTimeout(VARIANT_BOOL pVal);
Default is FALSE.
The property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("ErrorIfReceiveMessageTimeout") [= boolean]