ErrorIfReceiveMessageTimeout Property

DTS Programming

DTS Programming

ErrorIfReceiveMessageTimeout Property

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.

Applies To
DTSMessageQueueTask
Syntax

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

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetErrorIfReceiveMessageTimeout(VARIANT_BOOL* pVal);

HRESULT GetErrorIfReceiveMessageTimeout(VARIANT_BOOL pVal);

Remarks

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]

See Also

ReceiveMessageTimeout Property