skip to main content
Connection property descriptions : LoginTimeout
  

Try DataDirect Drivers Now

LoginTimeout

Purpose

The amount of time, in seconds, that the driver waits for a connection to be established before timing out the connection request.

Valid values

0 | x
where:
x
is a number of seconds.

Behavior

If set to 0, the driver does not time out a connection request.
If set to x, the driver waits for the specified number of seconds before returning control to the application and throwing a timeout exception.

Notes

When MultiSubnetFailover is enabled, the value of the LoginTimeout property is 15 seconds by default. When LoginTimeout is set to 0 (zero), the driver will still timeout requests after 15 seconds. However, when the value of LoginTimeout is an integer greater than 0 (zero), the driver will timeout requests for the specified duration.

Data source method

setLoginTimeout

Default

0

Data type

Int

See also

*Timeouts
*Timeout properties