ObjectState Enumeration
Specifies the running state of an IIS object.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
| Member name | Description | |
|---|---|---|
| Started | The Site, ApplicationPool, or WorkerProcess object has started. | |
| Starting | The object is in the process of starting. | |
| Stopped | The object has stopped. | |
| Stopping | The object is in the process of stopping. | |
| Unknown | The object is in an unknown state. |
A number of properties in the IIS 7 SDK get values from this enumeration. For example, the Site.State property determines the running state of a Site object, the ApplicationPool.State property determines the state of an ApplicationPool object, and the WorkerProcess.State property determines the state of a WorkerProcess object.
Show: