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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public ReadOnly Property IsNested As Boolean
Get
public bool IsNested { get; }
public:
property bool IsNested {
bool get ();
}
member IsNested : bool
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.