SectionInformation::ForceSave Property
.NET Framework (current version)
Gets or sets a value that indicates whether the associated configuration section will be saved even if it has not been modified.
Assembly: System.Configuration (in System.Configuration.dll)
Property Value
Type: System::Booleantrue if the associated ConfigurationSection object will be saved even if it has not been modified; otherwise, false. The default is false.
Note |
|---|
If the configuration file is saved (even if there are no modifications), ASP.NET restarts the application. |
The following example shows how to use the ForceSave property of a ConfigurationSection object.
.NET Framework
Available since 2.0
Available since 2.0
Show:
