Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlConnectionStringBuilder.ConnectRetryInterval Property

.NET Framework 4.5

[Supported in the .NET Framework 4.5.1 and later versions]

Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure. This must be an integer between 1 and 60. The default is 10 seconds. An ArgumentException will be thrown if set to a value outside of the allowed range.

Namespace:  System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)
public int ConnectRetryInterval { get; set; }

Property Value

Type: System.Int32
Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure.

.NET Framework

Supported in: 4.5.1
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.