Iis7AppPool Properties

MSBuild Extension Pack

Iis7AppPool Properties MSBuild Extension Pack Help 4.0.12.0

The Iis7AppPool type exposes the following members.

Properties

  Name Description
Public property AppPoolInfo
Gets the AppPoolInfo Item. Identity = Name, MetaData = ApplicationPoolName, PhysicalPath, Id, State
Public property AutoStart
Set whether the application pool should start automatically. Default is true.
Public property Enable32BitAppOnWin64
Sets whether 32-bit applications are enabled on 64-bit processors. Default is false.
Public property Exists
Gets whether the Application Pool exists
Public property Force
Set to true to force the creation of a website, even if it exists.
Public property IdentityPassword
Sets the password associated with the PoolIdentity property.
Public property IdentityType
Sets the ProcessModelIdentityType. Default is LocalService unless UseDefaultIdentity is specified
Public property IdleTimeout
Sets a TimeSpan value in minutes for the period of time a process should remain idle. Set > 0 to use. Set to -1 to restore the Application Pool Default.
Public property LoadUserProfile
Sets the LoadUserProfile property. Default is false.
Public property ManagedRuntimeVersion
Sets the version number of the .NET Framework used by the application pool. Default is "v2.0".
Public property MaxProcesses
Sets the maximum number of worker processes allowed for the AppPool. Set to -1 to restore the Application Pool Default.
Public property Name
Sets the name of the AppPool
Public property PeriodicRestartPrivateMemory
Sets the private memory (kb) a process can use before the process is recycled. Default is 0. Set > 0 to use. Set to -1 to restore the Application Pool Default.
Public property PeriodicRestartTime
Sets a TimeSpan value in minutes for the period of time that should elapse before a worker process is recycled. Default is 29 hours. Set > 0 to use. Set to -1 to restore the Application Pool Default for Modify or -1 to Disable Recycling.PeriodicRestartTime for Create
Public property PipelineMode
Sets the ManagedPipelineMode. Default is ManagedPipelineMode.Integrated.
Public property PoolIdentity
Sets the user name associated with the security identity under which the application pool runs.
Public property QueueLength
Sets the maximum number of requests to queue before rejecting additional requests. Default is 0. Set > 0 to use. Set to -1 to restore the Application Pool Default.
Public property RapidFailProtection
Sets the RapidFailProtection. Default is true
Public property RecycleInterval
Sets the RecycleInterval in minutes for the application pool. Set to -1 to restore the Application Pool Default.
Public property RecycleRequests
Sets the fixed number of requests to recycle the application pool. Set to -1 to restore the Application Pool Default.
Public property RecycleTimes
Sets the times that the application pool should recycle. Format is 'hh:mm,hh:mm,hh:mm'. Set to "-1" to clear the RecycleTimes
Public property RetryCount
Sets a value indicating how many times to retry starting or stopping an application pool, e.g. if the pool needs time to stop. Default is 5. The retry occurs every 1 seconds.
Public property UseDefaultIdentity
Sets whether to use the default settings for ProcessModel Identity that have been defined in IIS for an AppPool. Default is false.
Top
See Also

Reference