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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.