January 19, 2001

VB and MTS transaction attribute

Just for refrence to make notes:

Visual Basic 6.0 provides a new property, MTSTransactionMode, that allows you to set the transactional attribute for each class within your component. This property maps directly to the transaction attributes in MTS, as shown in the following table.

Visual Basic property value

MTS transaction attribute

0--NotAnMTSObject

N/A

1--NoTransactions

Does not support transactions

>2--RequiresTransactions

Requires a transaction

3--UsesTransactions

Supports transactions

4--RequiresNewTransaction

Requires a new transaction