Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

ResetTrans Method

See Also
Example
Applies To

OraConnection

OraSession

Description

Unconditionally rolls back all transactions and clears the transaction mode initiated by BeginTrans.

Usage

oraconnection.ResetTrans

orasession.ResetTrans

Remarks

This method does not generate events or produce errors. Since ResetTrans does not generate events, you cannot cancel ResetTrans in a Validate event, as you can rollback or Commit.

Note: If an OraDatabase object has been enlisted with Microsoft Transaction Server (MTS) and is part of a global MTS transaction, this method has no effect.