|
<< Click to Display Table of Contents >> DbiGetTranInfo |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiGetTranInfo (hDb, hXact, pxInfo);
Delphi syntax
function DbiGetTranInfo (hDb: hDBIDb; hXact: hDBIXact; pxInfo: pXInfo): DBIResult stdcall;
Description
DbiGetTranInfo retrieves transaction information.
Parameters
hDb Type: hDBIDb (Input)
Specifies the database handle.
hXact Type: hDBIXact (Input)
Specifies the transaction handle. If NULL, hDb is used; if not NULL, hDb is ignored.
pxInfo Type: XInfo (Output)
Pointer to the client-allocated XInfo structure.
Usage
After a successful DbiBeginTran request, the transaction state is active. The state remains active until DbiEndTran is called. While the transaction is active, the actual isolation level being used can be retrieved with this function. Since transaction nesting is currently not supported, the uNests value is unused.
Prerequisites
A valid database handle must be obtained on a database.
Completion state
Information function only; does not affect transaction processing.
DbiResult |
Meaning |
DBIERR_NONE |
The function executed successfully. |