Sphinx QLConnectionConnection Timeout 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
The time (in seconds) to wait for a connection to open. The default value is 15.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public override int ConnectionTimeout { get; }VB
Public Overrides ReadOnly Property ConnectionTimeout As Integer
GetProperty Value
Int32Return Value
Int32The time (in seconds) to wait for a connection to open. The default value is 15.
Implements
IDbConnectionConnectionTimeoutRemarks
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.