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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.