SetTransPool

Description

Sets up a pool of database transactions for a distributed application. SetTransPool was used with a feature that has been removed from PowerBuilder and is an obsolete function.

Applies to

Application object

Syntax

applicationname.SetTransPool ( minimum, maximum, timeout )

Argument

Description

applicationname

The name of the application object for which you want to establish a transaction pool

minimum

The minimum number of transactions to be kept open in the pool

maximum

The maximum number of transactions that can be open in the pool

timeout

The number of seconds to allow a request to wait for a connection in the transaction pool


Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs.