Share via


ObjectState Enum

Definition

Specifies the running state of an IIS object.

public enum class ObjectState
public enum ObjectState
type ObjectState = 
Public Enum ObjectState
Inheritance
ObjectState

Fields

Name Value Description
Starting 0

The object is in the process of starting.

Started 1

The Site, ApplicationPool, or WorkerProcess object has started.

Stopping 2

The object is in the process of stopping.

Stopped 3

The object has stopped.

Unknown 4

The object is in an unknown state.

Remarks

A number of properties in the IIS 7 SDK get values from this enumeration. For example, the Microsoft.Web.Administration.Site.State property determines the running state of a Site object, the Microsoft.Web.Administration.ApplicationPool.State property determines the state of an ApplicationPool object, and the Microsoft.Web.Administration.WorkerProcess.State property determines the state of a WorkerProcess object.

Applies to