Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Enterprise, Visual Basic
Expertise: Beginner
Sep 29, 1999

MTSTransactionMode in Visual Basic 6.0

Each MTS component can contain one or more classes which, in MTS terms, are referred to as MTS Objects. Visual Basic 6.0 provides a new property called MTSTransactionMode that can be used to set the transactional attribute for each class within the component. This property maps directly to the transaction attributes in MTS. For example, VB property value of 0-NotAnMTSObject means that this object is not MTS compatible. This property automatically sets the transaction attribute for the object when the component is added to MTS.

This property can be set to different values for different classes within the component depending on the requirements. Example of such a requirement can be if base class requires transactions while additional classes might only use transactions in certain cases.

Jai Bardhan
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date