RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMtsDataModule.IsInTransaction Method

Indicates whether the MTS data module is running in a transaction.

Pascal
function IsInTransaction: Bool;
C++
__fastcall Bool IsInTransaction();

Call IsInTransaction to determine whether the MTS data module is currently running in a transaction. For example, if the MTS data module requires a transaction, use IsInTransaction to check that this requirement has not been turned off using the MTS Explorer or COM+ administrator, and to raise an exception if it has.

Note: If IsInTransaction returns false, the EnableCommit and DisableCommit methods have no effect.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!