共用方式為


IIsApplicationPool (WMI)

This class corresponds to the IIsApplicationPool IIS Admin object, and contains the methods and read-only properties for the object.

CIM_LogicalElement (WMI)

Methods in Vtable Order

The IIsApplicationPool object defines the following methods, in addition to those inherited from CIM_LogicalElement (WMI).

Method

Description

IIsApplicationPool.EnumAppsInPool (WMI)

The EnumAppsInPool method populates an array of Strings with the applications in the application pool that is specified by the object variable, which must be an instance of the IIsApplicationPool (WMI) class.

IIsApplicationPool.Recycle (WMI)

The Recycle method recycles the application pool that is specified by the object variable, which must be an instance of the IIsApplicationPool (WMI) class. When recycling occurs, the worker process currently serving the application pool will terminate and the World Wide Web Publishing Service (WWW service) will restart a new worker process to replace it.

IIsApplicationPool.Start (WMI)

The Start method starts the application pool that is specified by the object variable, which must be an instance of the IIsApplicationPool (WMI) class.

IIsApplicationPool.Stop (WMI)

The Stop method stops the application pool that is specified by the object variable, which must be an instance of the IIsApplicationPool (WMI) class.

Properties

The IIsApplicationPool object defines the following property, in addition to those inherited from CIM_LogicalElement (WMI).

Property

Data type

Description

Name

String

The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also