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


ITransactions.InTransaction Property (ArcObjects .NET 10.4 SDK)
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* InTransaction
);
[C++]

Parameters InTransaction [out, retval] InTransaction 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