Programming Guide |
Determines if the object is participating in a transaction
int sm_mts_IsInTransaction(void);
MTS
Server
- ·
PV_YES
if the object is in a transaction
sm_mts_IsInTransaction
queries whether the current object is taking part in a transaction.For more details see the IsInTransaction method under IObjectContextMethods in the MTS documentation.
Note that this function requires an object context and therefore cannot be used in the constructor of a service component.