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

Syntax

'Declaração
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

See Also

Reference

Transaction Class

Microsoft.VisualStudio.Modeling Namespace