The UseTransaction property sets or returns a value indicating whether a transaction is used to send the message defined by the DTSMQMessage object.
object.UseTransaction [= boolean]
| Part | Description |
|---|---|
| object | Expression that evaluates to a DTSMQMessage object |
| boolean | Boolean that specifies whether the message is sent as part of a transaction |
Boolean
Read/write
HRESULT UseTransaction(VARIANT_BOOL* pVal);
HRESULT UseTransaction(VARIANT_BOOL pVal);
All the transacted messages sent by a DTSMessageQueueTask object use the same transaction.