SuspendTransaction (obsolete) – PB Docs 2017

SuspendTransaction (obsolete)

PowerScript function

Description

Suspends the EAServer transaction associated with the calling
thread.

Obsolete function

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

Applies to

CORBACurrent objects

Syntax

Argument

Description

CORBACurrent

Reference to the CORBACurrent service instance

Return value

Unsigned long.

Returns a handle that refers to the transaction associated with the
thread or 0 if an error occurs.

Usage

The SuspendTransaction function returns a handle referring to the
transaction associated with the calling thread. This handle can be passed
to the ResumeTransaction function on the same or a different thread. When
SuspendTransaction is called, the current thread is no longer associated
with a transaction.

SuspendTransaction can be called by a client or a component that is
marked as OTS style. It must be using the two-phase commit transaction
coordinator (OTS/XA).

Examples

This example shows the use of the SuspendTransaction function to
disassociate the calling thread from the current transaction:

See also

BeginTransaction
(obsolete)

CommitDocking

GetTransactionName
(obsolete)

ResumeTransaction
(obsolete)

RollbackTransaction
(obsolete)

SetTimeout (obsolete)


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