DataConnection.Transaction Property
Retrieves an object that enables transaction processing; that is, allows you to begin, commit, and rollback transactions on the data source.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public ReadOnly Property Transaction As DataTransaction
public DataTransaction Transaction { get; }
public:
property DataTransaction^ Transaction {
DataTransaction^ get ();
}
member Transaction : DataTransaction with get
function get Transaction () : DataTransaction
Property Value
Type: Microsoft.VisualStudio.Data.DataTransaction
Returns a DataTransaction object instance, which provides the ability to begin, commit, and rollback transactions on the data source.
.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.