This document is archived and information here might be outdated.  Recommended version.


ITransactions.InTransaction Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITransactions Interface > ITransactions.InTransaction Property
ArcGIS Developer Help

ITransactions.InTransaction Property

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(
  Boolean* InTransaction
);
[C++]
Parameters
InTransaction [out, retval]

InTransaction is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

ITransactions does not support nested transactions. The InTransaction property should be used to test if the workspace is already within a transaction.

See Also

ITransactions Interface