ObjectState Enumeration
IIS 7.0
Specifies the running state of an IIS object.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
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.