Export (0) Print
Expand All

TransactionManager.CurrentTransaction Property

Gets the current active transaction.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public Transaction CurrentTransaction { get; }

To get the outermost transaction, use CurrentTransaction.TopLevelTransaction.

Show:
© 2014 Microsoft