Share via


Transaction.IsNested Property

Gets the transaction and verifies whether a transaction is nested within another transaction.

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

Syntax

'Declaration
Public ReadOnly Property IsNested As Boolean
public bool IsNested { get; }
public:
property bool IsNested {
    bool get ();
}
member IsNested : bool with get
function get IsNested () : boolean

Property Value

Type: Boolean
true if the transaction is nested within another transaction; otherwise, false.

Remarks

You can use the TransactionDepth property to determine how many levels of nested transactions this transaction is running inside.

.NET Framework Security

See Also

Reference

Transaction Class

Microsoft.VisualStudio.Modeling Namespace