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

CommandTimeout – PB Docs 2019 – PowerBuilder Library

CommandTimeout – PB Docs 2019

CommandTimeout

database parameter

Description

Specifies the number of seconds the interface should wait for a
command to execute.

When to specify CommandTimeout

You must specify a value for CommandTimeout before connecting to
the database.

Applies to

ADO.NET

Syntax

Parameter

Description

value

The number of seconds the interface waits for a
command to execute.

Default value

None

Usage

The default value for the CommandTimeout parameter is
driver-specific.

When you use this parameter with an AdoTransaction object in
DataWindow .NET, specify a value for this parameter in the second
argument of the AdoTransaction constructor.

Examples

To set the CommandTimeout value to wait 60 seconds for a command
to execute:

  • Database profile

    Type 60 in the Command Timeout box on the System page in the
    Database Profile Setup dialog box.

  • Application

    Type the following in code:

    Add the following to the second argument of the AdoTransaction
    constructor:


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