ObjectState Enumeration
TOC
Collapse the table of content
Expand the table of content

ObjectState Enumeration

IIS 7.0
 

Specifies the running state of an IIS object.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public enum ObjectState

Member nameDescription
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.

Return to top
Show:
© 2016 Microsoft