Iis6Website Properties

MSBuild Extension Pack

Iis6Website Properties MSBuild Extension Pack Help 4.0.12.0

The Iis6Website type exposes the following members.

Properties

  Name Description
Public property Exists
Gets whether the website exists.
Public property Force
Set force to true to delete an existing website when calling Create. Default is false.
Public property Identifier
Gets or sets the Identifier for the website. If specified for Create and the Identifier already exists, an error is logged.
Public property MetabasePropertyName
Sets the Metabase Property Name to retrieve. See Metabase Property Reference (IIS 6.0)

Public property MetabasePropertyValue
Gets the string value of the requested MetabasePropertyName
Public property Name
Gets or sets the name.
Public property Properties
Sets the Properties. Use a semi-colon delimiter. See Metabase Property Reference (IIS 6.0)

Some properties may be split within the semi colon, e.g. to set multiple server bindings you could use Properties="ServerBindings=:80:first.host.header|:80:second.host.header" If a property contains =, enter #~# as a special sequence which will be replaced with = during processing

Public property Sleep
Set the sleep time in ms for when calling Start, Stop, Pause or Continue. Default is 250ms.
Top
See Also

Reference