Partager via


DataTransaction Class

Definition

Enables transaction-processing, which allows you to commit or roll back as a batch a series of related operations.

public ref class DataTransaction abstract
[System.Runtime.InteropServices.Guid("4E8B7040-8B56-407c-80CB-1A889846FFB3")]
public abstract class DataTransaction
[<System.Runtime.InteropServices.Guid("4E8B7040-8B56-407c-80CB-1A889846FFB3")>]
type DataTransaction = class
Public MustInherit Class DataTransaction
Inheritance
DataTransaction
Attributes

Constructors

DataTransaction()

Class constructor. Instantiates a new instance of the DataTransaction class.

Properties

CurrentTransactionLevel

Retrieves a numeric value indicating the current transaction level.

Methods

BeginTransaction()

Initiates a transaction and returns the new current transaction level.

CommitTransaction()

Commits a transaction and returns the new current transaction level.

RollbackTransaction()

Rolls back, or voids, a transaction and returns the new current transaction level.

Applies to