AdsBeginTransaction

Advantage Client Engine

  This is the first topic This is the last topic  

Begins a transaction for all connected servers or for the given server

Syntax

UNSIGNED32

AdsBeginTransaction (ADSHANDLE hConnect);

Parameters

hConnect (I)

Connection handle on which to start transaction. If this is 0, then a transaction will be started on all connected servers.

Remarks

If a transaction is not active on a connection then a transaction will be started.  If a transaction is active a nested transaction will be started. If zero is passed as the connection handle, then the Advantage Client Engine begins a transaction on all connections that do not already have an active transaction. . Any connection with an active transaction will start a nested transaction.

Note AdsBeginTransaction has no effect when used with the Advantage Local Server.

 

See Also

AdsCommitTransaction

AdsRollbackTransaction

AdsFailedTransactionRecovery

AdsConnect

AdsInTransaction

AdsGetTransactionCount