WaitForAcknowledgement Property

DTS Programming

DTS Programming

WaitForAcknowledgement Property

The WaitForAcknowledgement property returns or sets a value indicating whether a DTSMessageQueueTask waits for an acknowledgement after sending the message defined by the DTSMQMessage object. 

Applies To
DTSMQMessage Object
Syntax

object.WaitForAcknowledgement [= boolean]

Part Description
object Expression that evaluates to a DTSMQMessage object
boolean Boolean that specifies whether the task sending the message waits for an acknowledgement

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetWaitForAcknowledgement(VARIANT_BOOL *pVal);

HRESULT SetWaitForAcknowledgement(VARIANT_BOOL pVal);

Remarks

The sending task does not complete until the acknowledgement is received. If a transaction is used, it is not committed until the acknowledgement is received.

All the transacted messages sent by a DTSMessageQueueTask object use the same transaction.

See Also

UseTransaction Property