skip to main content
Connection property descriptions : ConnectionRetryDelay
  

Try DataDirect Drivers Now

ConnectionRetryDelay

Purpose

The number of seconds the driver waits between connection retry attempts when ConnectionRetryCount is set to a positive integer.

Valid values

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

Behavior

If set to 0, the driver does not delay between retries.
If set to x, the driver waits between connection retry attempts the specified number of seconds.

Example

If ConnectionRetryCount is set to 2, this property is set to 3, and alternate servers are specified using the AlternateServers property, the driver retries the list of servers (primary and alternate) twice after the initial retry attempt. The driver waits 3 seconds between retry attempts.

Notes

When MultiSubnetFailover is enabled, the ConnectionRetryDelay connection property is ignored.

Data source method

setConnectionRetryDelay

Default

1 (second)

Data type

Int

See also

Using failover