ArcObjects Library Reference (GeoDatabase)  

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(
  VARIANT_BOOL* pInTransaction
);
[C++]

Parameters

pInTransaction [out, retval]   pInTransaction is a parameter of type VARIANT_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