Advantage Client Engine
Commits an active transaction on the given connection
UNSIGNED32 |
AdsCommitTransaction (ADSHANDLE hConnect); |
hConnect (I) |
Connection handle on which to commit the transaction. If this is 0, then open transactions on all connected servers will be committed. |
If zero is passed as the connection handle, then the Advantage Client Engine commits the transaction on all connections that have active transactions. The error code AE_TRANS_OUT_OF_SEQUENCE will be returned if a specific connection handle is given to AdsCommitTransaction and that connection is not in a transaction, or if zero is given and no connections have active transactions. If zero is given and at least one connection is in a transaction, then the transaction(s) will be committed and no error will be returned.
Note This API has no effect when used with the Advantage Local Server.