SessionStateSection.SqlConnectionRetryInterval Property

.NET Framework (current version)
 

Gets or sets the time interval that should elapse before ASP.NET reconnects to the database.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("sqlConnectionRetryInterval",
	DefaultValue := "00:00:00")>
<TypeConverterAttribute(GetType(TimeSpanSecondsOrInfiniteConverter))>
Public Property SqlConnectionRetryInterval As TimeSpan

Property Value

Type: System.TimeSpan

The time interval that should elapse before ASP.NET reconnects to the database.

The SqlConnectionRetryInterval specifies the time interval in seconds before reconnecting to the database when a connection error has occurred.

.NET Framework
Available since 4.0
Return to top
Show: