Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

IsTransactionAborted – PB Docs 150 – PowerBuilder Library

IsTransactionAborted – PB Docs 150

IsTransactionAborted PowerScript function

Description

Determines whether the current transaction, in which an EAServer component participates,
has been aborted.

Controls

TransactionServer objects

Syntax

Argument

Description

transactionserver

Reference to the TransactionServer service
instance

Return Values

Boolean. Returns true if
the current transaction has been aborted and false if
it has not.

Usage

The IsTransactionAborted function allows
a component to verify that the current transaction is still viable
before performing updates to the database.The IsTransactionAborted function
corresponds to the isRollbackOnly transaction primitive in EAServer.

Examples

The following example checks to see whether the transaction
has been aborted. If it has not, it updates the database and calls EnableCommit.
If it has been aborted, it calls DisableCommit.

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x