SPWebApplication.ApplicationPool property

Gets or sets the application pool that is used by the Web application.

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

Syntax

'Declaration
Public Property ApplicationPool As SPApplicationPool
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As SPApplicationPool

value = instance.ApplicationPool

instance.ApplicationPool = value
public SPApplicationPool ApplicationPool { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPApplicationPool
An SPApplicationPool object that represents the application pool.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace