SphinxQLConnectionConnectionTimeout Property

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

Definition

Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public override int ConnectionTimeout { get; }

Property Value

Int32

Return Value

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