SPIisWebServiceApplication.ApplicationPool Property

Gets or sets the application pool used by the Web service application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Property ApplicationPool As SPIisWebServiceApplicationPool
    Get
    Set
'Usage
Dim instance As SPIisWebServiceApplication
Dim value As SPIisWebServiceApplicationPool

value = instance.ApplicationPool

instance.ApplicationPool = value
public virtual SPIisWebServiceApplicationPool ApplicationPool { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool
An SPIisWebServiceApplicationPool object.

Exceptions

Exception Condition
ArgumentNullException

A null reference (Nothing in Visual Basic) was provided when setting this property.

See Also

Reference

SPIisWebServiceApplication Class

SPIisWebServiceApplication Members

Microsoft.SharePoint.Administration Namespace