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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public ReadOnly Property IsNested As Boolean
'Usage
Dim instance As Transaction 
Dim value As Boolean 

value = instance.IsNested
public bool IsNested { get; }
public:
property bool IsNested {
    bool get ();
}
public function get IsNested () : boolean

Property Value

Type: System.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

Transaction Members

Microsoft.VisualStudio.Modeling Namespace