Gets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
'Declaration
Public Property ConnectTimeout As Integer
public int ConnectTimeout {get; set;}
Property Value
The time (in seconds) to wait for a connection to open. The default value is 15 seconds.