Partilhar via


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)
Available in Sandboxed Solutions: No

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