Summary
Lists the configuration settings of a specified virtual directory in a
web site hosted on Internet Information Server.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .Web - Base Types
-
- Task
- WebBase
graph BT
Type-->Base0["WebBase"]
click Base0 "/api/NAnt.Contrib.Tasks.Web/WebBase"
Base0-->Base1["Task"]
Type["VirtualDirectoryInfo"]
class Type type-node
Syntax
[TaskName("iisdirinfo")]
public class VirtualDirectoryInfo : WebBase
Examples
List the settings of a virtual directory named Temp
.
<iisdirinfo vdirname="Temp" />
Attributes
Type | Description |
---|---|
TaskName |
Properties
Name | Value | Summary |
---|---|---|
ApplicationPath | string |
Inherited from WebBase
|
Server | string |
The IIS server, which can be specified using the format
[host]:[port] .
The default is localhost:80 .
Inherited from WebBase
|
ServerPath | string |
Inherited from WebBase
|
VdirPath | string |
Inherited from WebBase
|
Version | WebBase |
Gets the version of IIS corresponding with the current OS.
Inherited from WebBase
|
VirtualDirectory | string |
Name of the IIS virtual directory.
Inherited from WebBase
|
Website | string |
The website on the IIS server.
Inherited from WebBase
|
Methods
Name | Value | Summary |
---|---|---|
CheckIISSettings |
void |
Inherited from WebBase
|
DirectoryEntryExists |
bool |
Inherited from WebBase
|
ExecuteTask |
void |