Compartir a través de


AdoDotNetConnectionSupport.Transaction Property

Retrieves the current IDbTransaction, if any.

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

Syntax

'Declaración
Protected ReadOnly Property Transaction As IDbTransaction
    Get
protected IDbTransaction Transaction { get; }
protected:
property IDbTransaction^ Transaction {
    IDbTransaction^ get ();
}
member Transaction : IDbTransaction
function get Transaction () : IDbTransaction

Property Value

Type: System.Data.IDbTransaction
Returns an IDbTransaction object instance; returns nulla null reference (Nothing in Visual Basic) if not currently in a transaction.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace