Datasnap.Win.MtsRdm.TMtsDataModule.IsInTransaction
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Datasnap.Win.MtsRdm.pas Datasnap.Win.MtsRdm.hpp
| |
| Unit: Datasnap.Win.MtsRdm | |
| Parent: TMtsDataModule | |
Delphi
function IsInTransaction: Boolean;
C++
bool __fastcall IsInTransaction();
Description
Indicates whether the MTS data module is running in a transaction.
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.