This documentation is archived and is not being maintained.

OleDbTransaction Class

Represents an SQL transaction to be made at a data source. This class cannot be inherited.

For a list of all members of this type, see OleDbTransaction Members.


[Visual Basic]
NotInheritable Public Class OleDbTransaction
   Inherits MarshalByRefObject
   Implements IDbTransaction, IDisposable
public sealed class OleDbTransaction : MarshalByRefObject,
   IDbTransaction, IDisposable
public __gc __sealed class OleDbTransaction : public
   MarshalByRefObject, IDbTransaction, IDisposable
public class OleDbTransaction extends MarshalByRefObject implements
   IDbTransaction, IDisposable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The application creates an OleDbTransaction object by calling BeginTransaction on the OleDbConnection object. All subsequent operations associated with the transaction (for example, committing or aborting the transaction), are performed on the OleDbTransaction object.


Namespace: System.Data.OleDb

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Data (in System.Data.dll)

See Also

OleDbTransaction Members | System.Data.OleDb Namespace | OleDbDataAdapter | OleDbConnection