共用方式為


IIsApplicationPool.Recycle (WMI)

The Recycle method recycles an application pool. 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.

objIIsApplicationPool.Recycle()

Parameters

This method has no parameters.

Return Values

This method has no return values.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also

Concepts

IIsApplicationPool (WMI)

Using WMI to Configure IIS