CgiSection Class

Configures Common Gateway Interface (CGI) settings.

Syntax

class CgiSection : ConfigurationSection  

Methods

The following table lists the methods exposed by the CgiSection 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 CgiSection class.

Name Description
CreateCGIWithNewConsole A read/write boolean value. true if a CGI application runs in its own console; otherwise, false. The default is false.

If the value is set to true, each CGI application creates a new console when the application is started. A value of false indicates that CGI applications should run without a console.
CreateProcessAsUser A read/write boolean value. true if a CGI process is created in the system context; false if it is created in the context of the requesting user. The default is true.
Location (Inherited from ConfigurationSection.) A key property.
Path (Inherited from ConfigurationSection.) A key property.
SectionInformation (Inherited from ConfigurationSection.)
Timeout A read/write datetime value that specifies the time-out for CGI applications. The default is 15 minutes.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

CgiSection

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
IsapiCgiRestrictionElement Class
IsapiCgiRestrictionSection Class
CIM_DATETIME