ApplicationPoolRecycling.DisallowRotationOnConfigChange Property

IIS 7.0

Gets or sets the startup behavior of overlapping worker processes in an application pool when a configuration change is detected.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public bool DisallowRotationOnConfigChange { get; set; }

Property Value

Type: System.Boolean

true if overlapping rotation is not allowed; otherwise, false. The default is false.

This property specifies whether the World Wide Web Publishing Service (WWW service) should rotate worker processes in an application pool when the configuration changes.

The following example sets the value of the DisallowRotationOnConfigChange property. This code example is part of a larger example provided for the ApplicationPoolRecycling class.

Return to top