Click or drag to resize

SphinxQLConnectionConnectionTimeout Property

Gets the time (in seconds) to wait while establishing a connection before terminating the attempt and generating an error.

Namespace:  SphinxConnector.SphinxQL
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public override int ConnectionTimeout { get; }

Property Value

Type: Int32

Return Value

Type: Int32
The time (in seconds) to wait for a connection to open. The default value is 15.

Implements

IDbConnectionConnectionTimeout
Remarks
This value can be changed via the connection string option Connection Timeout. A value of 0 indicates no limit, and should be avoided in a ConnectionString because an attempt to connect waits indefinitely.
See Also