The Iis7Website type exposes the following members.

Properties

  NameDescription
Public propertyAnonymousAuthentication
Sets AnonymousAuthentication for the website. Default is true
Public propertyApplications
ITaskItem of Applications. Use AppPool, PhysicalPath and EnabledProtocols metadata to specify applicable values
Public propertyAppPool
Sets the app pool.
Public propertyBasicAuthentication
Sets BasicAuthentication for the website. Default is false;
Public propertyDigestAuthentication
Sets DigestAuthentication for the website. Default is false;
Public propertyEnabledProtocols
Sets the Enabled Protocols for the website
Public propertyExists
Gets whether the website exists
Public propertyForce
Set to true to force the creation of a website, even if it exists.
Public propertyHttpResponseHeaders
A collection of headers to add. Specify Identity as name and add Value metadata
Public propertyIdentifier
Gets or sets the Identifier for the website. If specified for Create and the Identifier already exists, an error is logged.
Public propertyLogDirectory
Sets the directory the website writes logfiles to.
Public propertyLogExtFileFlags
Sets the LogExtFileFlags. Default is 1414 (logextfiletime | logextfileclientip |logextfilemethod | logextfileuristem | logextfilehttpstatus)
Public propertyLogFormat
Sets the LogExtFileFlags. Default is W3c.
Public propertyMimeTypes
A collection of MimeTypes. Specify Identity as name and add Value metadata
Public propertyName
Sets the name of the Website
Public propertyPath
Sets the path.
Public propertyPhysicalPath
Gets the site physical path. [Output]
Public propertyPort
Sets the port.
Public propertyServerAutoStart
Sets ServerAutoStart for the website. Default is true.
Public propertySiteId
Gets the site id. [Output]
Public propertySiteInfo
Gets the SiteInfo Item. Identity = Name, MetaData = ApplicationPoolName, PhysicalPath, Id, State
Public propertyTaskAction
Sets the TaskAction.
(Overrides BaseTask..::..TaskAction.)
Public propertyVirtualDirectories
ITaskItem of VirtualDirectories. Use PhysicalPath metadata to specify applicable values
Public propertyWindowsAuthentication
Sets WindowsAuthentication for the website. Default is false;

See Also