SqlConnectionStringBuilder::ConnectRetryCount Property
.NET Framework (current version)
[Supported in the .NET Framework 4.5.1 and later versions]
The number of reconnections attempted after identifying that there was an idle connection failure. This must be an integer between 0 and 255. Default is 1. Set to 0 to disable reconnecting on idle connection failures. An ArgumentException will be thrown if set to a value outside of the allowed range.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System::Int32The number of reconnections attempted after identifying that there was an idle connection failure.
.NET Framework
Available since 4.5.1
Available since 4.5.1
Show: