ObjectState ObjectState ObjectState ObjectState Enum

Definition

Specifies the running state of an IIS object.

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

Fields

Started Started Started Started 1

The Site, ApplicationPool, or WorkerProcess object has started.

Starting Starting Starting Starting 0

The object is in the process of starting.

Stopped Stopped Stopped Stopped 3

The object has stopped.

Stopping Stopping Stopping Stopping 2

The object is in the process of stopping.

Unknown Unknown Unknown 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