AdoDotNetConnectionSupport.Transaction Property
Retrieves the current IDbTransaction, if any.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
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
- 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.