RuntimeObjectState Enumeration

Specifies the running state of an IIS object.

Namespace: Microsoft.Web.Administration
Assembly: Microsoft.Web.Administration (in microsoft.web.administration.dll)

Syntax

'Declaration
Public Enumeration RuntimeObjectState
'Usage
Dim instance As RuntimeObjectState
public enum RuntimeObjectState
public enum class RuntimeObjectState
public enum RuntimeObjectState
public enum RuntimeObjectState

Members

  Member name Description
Started Indicates the object is started. 
Starting Indicates the object is in the process of starting. 
Stopped Indicates the object is stopped. 
Stopping Indicates the object is in the process of stopping. 
Unknown Indicates the object is in an unknown state. 

Remarks

A value from this enumeration is returned by a number of objects in the IIS 7.0 SDK. For example, the running state of a site Site object my be determined by accessing the State property, an ApplicationPool object via the State property, and a WorkerProcess object via the State property.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Microsoft.Web.Administration Namespace