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.
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 |
Boolean
Read/write
HRESULT GetWaitForAcknowledgement(VARIANT_BOOL *pVal);
HRESULT SetWaitForAcknowledgement(VARIANT_BOOL pVal);
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.