Export (0) Print
Expand All

SessionStateSection.SqlConnectionRetryInterval Property

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(typeof(TimeSpanSecondsOrInfiniteConverter))]
public TimeSpan SqlConnectionRetryInterval { get; set; }

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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft