Advantage Client Engine
Returns a flag to the caller to indicate if the given connection has an active transaction
UNSIGNED32 |
AdsInTransaction (ADSHANDLE hConnect, UNSIGNED16 *pbInTrans); |
hConnect (I) |
Connection handle to check. If this is 0, then all connected servers will be checked for open transactions. |
pbInTrans (O) |
Returns True if in a transaction, False if not. |
AdsInTransaction will return a True if the connection specified by hConnect is currently in a transaction. If zero is given as the connection handle, then pbInTrans will be set to True if any connection has an active transaction.