Freigeben über


SystemWebDeploymentSection Class [IIS 7 and higher]

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

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

ConfigurationSection Class [IIS 7 and higher]