'Declaration Public Property ConnectionTimeout As Integer
'Usage Dim instance As TdConnectionStringBuilder Dim value As Integer instance.ConnectionTimeout = value value = instance.ConnectionTimeout
public int ConnectionTimeout {get; set;}
'Declaration Public Property ConnectionTimeout As Integer
'Usage Dim instance As TdConnectionStringBuilder Dim value As Integer instance.ConnectionTimeout = value value = instance.ConnectionTimeout
public int ConnectionTimeout {get; set;}
This represents the time to wait for establishment of a connection before terminating the attempt and generating an error. Connection timeout is typically used for an application waiting for a connection from a connection pool, when the maximum number of connections have been established.
ConnectionTimeout is specified in seconds and may range from 0 to the maximum supported timeout value of 2147483. Connection timeout specified as 0 is a special case, and internally the provider will set the value to the maximum value.
Default Value: 20 seconds
Product | Versions | Platforms |
---|---|---|
.NET | 6, 7 | Windows, Linux, MacOS |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |