SqlClient ConnectionTimeout Property Nemiro.Data.dll
Timeout connecting to the server (in seconds) before an exception. Default value: zero - used the server configuration.

Namespace: Nemiro.Data.Sql
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public int ConnectionTimeout { get; set; }

Property Value

Type: Int32
Examples

using (SqlClient client = new SqlClient())
{
  client.ConnectionTimeout = int.MaxValue;
  // ...
}
See Also