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

SetTimeout (obsolete) – PB Docs 2019 – PowerBuilder Library

SetTimeout (obsolete) – PB Docs 2019

SetTimeout (obsolete)

Description

Sets the timeout value for subsequent EAServer transactions. The
transaction is rolled back if it does not complete before the timeout
expires.

Obsolete function

SetTimeout 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

seconds

An unsignedlong that specifies the number of seconds that
elapse before a transaction is rolled back

Return value

Boolean.

Returns true if it succeeds and false if an error occurs.

Usage

The SetTimeout function specifies the number of seconds that can
elapse before a transaction is rolled back. The timeout period applies to
transactions created by subsequent invocations of BeginTransaction. If
seconds is 0, no timeout period is in effect.

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

Examples

This example shows how to set the timeout period to five
minutes:

See also

BeginTransaction
(obsolete)

CommitDocking

GetContextService

GetStatus (obsolete)

GetTransactionName
(obsolete)

Init (obsolete)

ResumeTransaction
(obsolete)

RollbackOnly
(obsolete)

RollbackTransaction
(obsolete)

SuspendTransaction
(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