Datasnap.Win.MtsRdm.TMtsDataModule.IsInTransaction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsInTransaction: Boolean;

C++

bool __fastcall IsInTransaction();

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Win.MtsRdm.pas
Datasnap.Win.MtsRdm.hpp
Datasnap.Win.MtsRdm TMtsDataModule

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.

See Also