Compartir a través de


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

See Also

Reference

DataConnection Class

Microsoft.VisualStudio.Data Namespace