RemoveFromQueue Property

DTS Programming

DTS Programming

RemoveFromQueue Property

The RemoveFromQueue property sets or returns a value indicating whether a message is to be removed from the queue after it is received.

Applies To
DTSMessageQueueTask Object
Syntax

object.RemoveFromQueue [= boolean]

Part Description
object Expression that evaluates to a DTSMessageQueueTask object.
boolean If TRUE, a message is removed from the queue after it is received. Default is FALSE.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT RemoveFromQueue(VARIANT_BOOL* pVal);

HRESULT RemoveFromQueue(VARIANT_BOOL 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("RemoveFromQueue") [= boolean]

See Also

QueuePath Property