RVTDocs.com
Namespace: Autodesk.Revit.DB Class: SubTransaction

SubTransaction.HasEnded

Method
Description:
Determines whether the sub-transaction has ended already.
Remarks:
A sub-transaction is ended by completing either the Commit or RollBack method. Another way of testing whether a sub-transaction has ended is by testing its current status returned from (see GetStatus()). It must be either 'TransactionStatus.Committed' or 'TransactionStatus.RolledBack'
Syntax
public bool HasEnded()