Programming Guide



sm_mts_IsInTransaction

Determines if the object is participating in a transaction

int sm_mts_IsInTransaction(void);

Environment

MTS

Scope

Server

Returns

Description

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.