DTS Programming
UseTransaction (DTSMQMessage) Property
The UseTransaction property sets or returns a value indicating whether a transaction is used to send the message defined by the DTSMQMessage object.
Applies To
DTSMQMessage Object |
Syntax
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 |
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT UseTransaction(VARIANT_BOOL* pVal);
HRESULT UseTransaction(VARIANT_BOOL pVal);
Remarks
All the transacted messages sent by a DTSMessageQueueTask object use the same transaction.