Compartilhar via


AdoDotNetConnectionSupport.CurrentTransaction Property

Gets the DbTransaction object currently being used by the current connection support instance.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Property CurrentTransaction As DbTransaction
protected DbTransaction CurrentTransaction { get; set; }
protected:
property DbTransaction^ CurrentTransaction {
    DbTransaction^ get ();
    void set (DbTransaction^ value);
}
member CurrentTransaction : DbTransaction with get, set
function get CurrentTransaction () : DbTransaction 
function set CurrentTransaction (value : DbTransaction)

Property Value

Type: System.Data.Common.DbTransaction
A DbTransaction object instance, or nulla null reference (Nothing in Visual Basic) if not currently in a transaction.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace