Partilhar via


SqlCeTransaction Members

SqlCeTransaction overview

Public Properties

public propertyConnection

Supported only by the .NET Compact Framework.

Gets the SqlCeConnection object associated with the transaction, or a null reference (Nothing in Visual Basic) if the transaction is no longer valid.
public propertyIsolationLevel

Supported only by the .NET Compact Framework.

Specifies the IsolationLevel for this transaction.

Public Methods

public methodCommit

Supported only by the .NET Compact Framework.

Commits the database transaction.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose

Supported only by the .NET Compact Framework.

Releases all SqlCeConnection objects associated with the transaction.
public methodEquals (inherited from Object)

Supported only by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported only by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported only by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodRollback

Supported only by the .NET Compact Framework.

Rolls back a transaction from a pending state.
public methodToString (inherited from Object)

Supported only by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize

Supported only by the .NET Compact Framework.

Overridden. Frees resources before the SqlCeTransaction is reclaimed by the Garbage Collector.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported only by the .NET Compact Framework.

Creates a shallow copy of the current Object.

Explicit Interface Implementations

System.Data.IDbTransaction.Connection

See Also

SqlCeTransaction Class | System.Data.SqlServerCe Namespace

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

Send comments on this topic.

© Microsoft Corporation. All rights reserved.