NAnt SDK Documentation - v0.92

Credential.UnlessDefined Property

Indicates if the credentials should not be used to provide authentication information to the external resource. If false then the credentials will be passed; otherwise, not. The default is false.

[Visual Basic]
<BooleanValidator, _  TaskAttribute(Required:=False, Name:="unless", ExpandProperties:=True, ProcessXml:=True)>
Public Property UnlessDefined As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Required=False, Name="unless", ExpandProperties=True, ProcessXml=True)]
public bool UnlessDefined {get; set;}

See Also

Credential Class | NAnt.Core.Types Namespace