Share 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
'Usage
Dim value As DbTransaction 

value = Me.CurrentTransaction 

Me.CurrentTransaction = value
protected DbTransaction CurrentTransaction { get; set; }
protected:
property DbTransaction^ CurrentTransaction {
    DbTransaction^ get ();
    void set (DbTransaction^ value);
}
protected function get CurrentTransaction () : DbTransaction 
protected 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

AdoDotNetConnectionSupport Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace