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

SuspendTransaction – PB Docs 126 – PowerBuilder Library

SuspendTransaction – PB Docs 126

SuspendTransaction PowerScript function

Description

Suspends the EAServer transaction
associated with the calling thread.

Controls

CORBACurrent objects

Syntax

Argument

Description

CORBACurrent

Reference to the CORBACurrent service
instance

Return Values

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. 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


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