NAntContrib Help Task Reference <adsisetprop> | v0.85-rc1 |
[This is preliminary documentation and subject to change.]
Sets a property on an ADSI object.
This task uses a heuristic to determine the type of the property in ADSI. The following cases are notable:Attribute | Type | Description | Required |
---|---|---|---|
propname | string | The name of the property to set. | False |
propvalue | string | The new value of the property. | False |
path | string | The ADSI path of the location where we want to work with. | True |
failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False |
if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False |
unless | bool | Opposite of if . If false then the task will be executed; otherwise, skipped. The default is false. | False |
verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False |
Contains a collection of Option elements.
<adsisetprop path="${iis.path}/Root" propname="AuthAnonymous" propvalue="true" />
<adsisetprop path="${iis.path}/Root/GWSSample"> <properties> <option name="AuthBasic" value="false" /> <option name="AuthNTLM" value="true" /> </properties> </adsisetprop>