共用方式為


SPWebService.ApplicationPools Property

Gets the collection of IIS application pools available to this service.

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

Syntax

'Declaration
Public ReadOnly Property ApplicationPools As SPApplicationPoolCollection
    Get
'Usage
Dim instance As SPWebService
Dim value As SPApplicationPoolCollection

value = instance.ApplicationPools
public SPApplicationPoolCollection ApplicationPools { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPApplicationPoolCollection
An SPApplicationPool object.

Remarks

These application pools are managed by Windows SharePoint services to simplify the routine task of changing account credentials on a farm deployment.

See Also

Reference

SPWebService Class

SPWebService Members

Microsoft.SharePoint.Administration Namespace