This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITransactions Interface > ITransactions.InTransaction Property (ArcObjects .NET 10.5 SDK) |
Indicates if there is already a transaction in progress.
[Visual Basic .NET] Public ReadOnly Property InTransaction As Boolean
[C#] public bool InTransaction {get;}
[C++]
HRESULT get_InTransaction(
VARIANT_BOOL* InTransaction
);
[C++]
Parameters InTransaction [out, retval] InTransaction is a parameter of type VARIANT_BOOL
ITransactions does not support nested transactions. The InTransaction property should be used to test if the workspace is already within a transaction.