Summary
Allows an IIS application pool to be controlled.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .Web - Base Types
-
- Task
graph BT
Type-->Base0["Task"]
Type["ApplicationPool"]
class Type type-node
Syntax
[TaskName("iisapppool")]
public class ApplicationPool : Task
Examples
Starts the "StsAdminAppPool" application pool on server "SV-ARD-WEB".
<iisapppool action="Start" pool="StsAdminPool" server="SV-ARD-WEB" />
Stops and restarts the "DefaultAppPool" application pool on server "SV-ARD-WEB".
<iisapppool action="Restart" pool="DefaultAppPool" server="SV-ARD-WEB" />
Attributes
Type | Description |
---|---|
TaskName |
Properties
Name | Value | Summary |
---|---|---|
Action | ApplicationPool |
The action that should be performed on the application pool.
|
PoolName | string |
The name of the application pool on which to perform the action.
|
Server | string |
The name of the server on which to perform the action. The default
is the local computer.
|
Methods
Name | Value | Summary |
---|---|---|
ExecuteTask |
void |