SessionStateSection.SqlConnectionRetryInterval Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the time interval that should elapse before ASP.NET reconnects to the database.
public:
property TimeSpan SqlConnectionRetryInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("sqlConnectionRetryInterval", DefaultValue="00:00:00")]
public TimeSpan SqlConnectionRetryInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("sqlConnectionRetryInterval", DefaultValue="00:00:00")>]
member this.SqlConnectionRetryInterval : TimeSpan with get, set
Public Property SqlConnectionRetryInterval As TimeSpan
Property Value
The time interval that should elapse before ASP.NET reconnects to the database.
- Attributes
Remarks
The SqlConnectionRetryInterval specifies the time interval in seconds before reconnecting to the database when a connection error has occurred.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.