PeriodicRestartSettings Class [IIS 7 and higher]

IIS 7.0

Specifies the conditions under which worker processes will be recycled.

class PeriodicRestartSettings : EmbeddedObject

This class contains no methods.

The following table lists the properties exposed by the PeriodicRestartSettings class.

Name

Description

Memory

A read/write uint32 value that specifies the amount of virtual memory, in kilobytes, that a worker process can use before the worker process recycles. The maximum value is 4,294,967. The default is 0 kilobytes, which means that the amount of virtual memory that a worker process uses will not be a condition for recycling the worker process.

PrivateMemory

A read/write uint32 value that specifies the amount of private memory, in kilobytes, that a worker process can use before the worker process recycles. The maximum value is 4,294,967. The default is 0 kilobytes, which means that the amount of private memory that a worker process uses will not be a condition for recycling the worker process.

Requests

A read/write uint32 value that indicates the number of requests an out-of-process application should process before it is recycled. The default is 0, which means that the number of requests an out-of-process application handles will not be a condition for recycling it.

Schedule

An array of ScheduleElement values that specify the local times at which an application will be recycled.

Time

A read/write datetime value that specifies the amount of time before IIS recycles an isolated out-of-process application. The default value is 0, which disables the recycling.

This class contains no subclasses.

Instances of this class are contained in the PeriodicRestart property of the RecyclingSettings class.

For more information about the Windows Management Instrumentation (WMI) date/time format, see CIM_DATETIME.

EmbeddedObject

   PeriodicRestartSettings

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show: