IsTransactionAborted (obsolete) – PB Docs 2017

IsTransactionAborted (obsolete)

PowerScript function

Description

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

Obsolete function

IsTransactionAborted is obsolete, because EAServer is no longer
supported since PowerBuilder 2017.

Applies to

TransactionServer objects

Syntax

Argument

Description

transactionserver

Reference to the TransactionServer service
instance

Return value

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

EnableCommit

IsInTransaction
(obsolete)

Lookup (obsolete)

SetAbort

SetComplete

Which


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