PeriodicRestartSettings Class

Specifies the conditions under which worker processes will be recycled.

Syntax

class PeriodicRestartSettings : EmbeddedObject  

Methods

This class contains no methods.

Properties

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.

Subclasses

This class contains no subclasses.

Remarks

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.

Inheritance Hierarchy

EmbeddedObject

PeriodicRestartSettings

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

EmbeddedObject Class
RecyclingSettings Class
ScheduleElement Class