Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures Common Gateway Interface (CGI) settings.
Syntax
class CgiSection : ConfigurationSection
Methods
The following table lists the methods exposed by the CgiSection class.
| Name | Description | 
|---|---|
| (Inherited from ConfigurationSection.) | |
| (Inherited from ConfigurationSection.) | |
| (Inherited from ConfigurationSection.) | |
| (Inherited from ConfigurationSection.) | |
| (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
CgiSection
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]
IsapiCgiRestrictionElement Class [IIS 7 and higher]
IsapiCgiRestrictionSection Class [IIS 7 and higher]