共用方式為


SPGlobalAdmin.ApplicationPools Property

NOTE: This API is now obsolete.

Use the ApplicationPools property of the SPWebService class to get the collection of Internet Information Services (IIS) application pools that are available to the service instead. (In Windows SharePoint Services 2.0, the ApplicationPools property got the IIS application pools for the virtual server, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebService.ApplicationPools instead.", False)> _
Public ReadOnly Property ApplicationPools As IDictionary
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As IDictionary

value = instance.ApplicationPools
[ObsoleteAttribute("Use SPWebService.ApplicationPools instead.", false)]
public IDictionary ApplicationPools { get; }

Property Value

Type: System.Collections.IDictionary
A System.Collections.IDictionary object that represents the application pools.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace