Share via


SqlCeTransaction Class

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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 SqlCeTransaction Members.

System.Object
   System.MarshalByRefObject
      System.Data.SqlServerCe.SqlCeTransaction

  [Visual Basic]
  NotInheritable Public Class SqlCeTransaction
   Inherits MarshalByRefObject
   Implements IDbTransaction, IDisposable

  [C#]
  public sealed class SqlCeTransaction : MarshalByRefObject,
   IDbTransaction, IDisposable

  [C++]
  public __gc __sealed class SqlCeTransaction : public
   MarshalByRefObject, IDbTransaction, IDisposable

  [JScript]
  public class SqlCeTransaction 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 a SqlCeTransaction object by calling BeginTransaction on the SqlCeConnection object. All subsequent operations associated with the transaction (for example, committing or aborting the transaction), are performed on the SqlCeTransaction object.

Requirements

Namespace: System.Data.SqlServerCe

Platforms: .NET Compact Framework

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

See Also

SqlCeTransaction Members | System.Data.SqlServerCe Namespace | SqlCeDataAdapter | SqlCeConnection

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.