The RemoveFromQueue property sets or returns a value indicating whether a message is to be removed from the queue after it is received.
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. |
Boolean
Read/write
HRESULT RemoveFromQueue(VARIANT_BOOL* pVal);
HRESULT RemoveFromQueue(VARIANT_BOOL pVal);
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]