 | 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.4.1
Syntaxpublic override int ConnectionTimeout { get; }
Public Overrides ReadOnly Property ConnectionTimeout As Integer
Get
Property Value
Type:
Int32Return 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