Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

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.

System.Object
   System.MarshalByRefObject
      System.Data.OleDb.OleDbTransaction

[Visual Basic]
NotInheritable Public Class OleDbTransaction
   Inherits MarshalByRefObject
   Implements IDbTransaction, IDisposable
[C#]
public sealed class OleDbTransaction : MarshalByRefObject,
   IDbTransaction, IDisposable
[C++]
public __gc __sealed class OleDbTransaction : public
   MarshalByRefObject, IDbTransaction, IDisposable
[JScript]
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.

Remarks

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.

Requirements

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.