.NET Framework 4.6 and 4.5
Gets the time to wait while establishing a connection before terminating the attempt and generating an error.
Assembly: System.Data (in System.Data.dll)
'Declaration Public Overridable ReadOnly Property ConnectionTimeout As Integer
Property ValueType: System.Int32
The time (in seconds) to wait for a connection to open. The default value is determined by the specific type of connection that you are using.