SystemWebDeploymentSection Class

Defines configuration settings that support the deployment of a Web application.

Syntax

class SystemWebDeploymentSection : ConfigurationSection  

Methods

The following table lists the methods exposed by the SystemWebDeploymentSection class.

Name Description
GetAllowDefinition (Inherited from ConfigurationSection.)
GetAllowLocation (Inherited from ConfigurationSection.)
RevertToParent (Inherited from ConfigurationSection.)
SetAllowDefinition (Inherited from ConfigurationSection.)
SetAllowLocation (Inherited from ConfigurationSection.)

Properties

The following table lists the properties exposed by the SystemWebDeploymentSection class.

Name Description
Location (Inherited from ConfigurationSection.) A key property.
Path (Inherited from ConfigurationSection.) A key property.
Retail A read/write boolean value. true if the Web application is deployed in retail mode; otherwise, false. The default is false.

When Retail is true, ASP.NET will disable certain settings, such as trace output, custom errors, and debug capabilities, that are defined in the configuration file. This property applies only to the computer-level and application-level configuration files.
SectionInformation (Inherited from ConfigurationSection.)

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

SystemWebDeploymentSection

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

ConfigurationSection Class