共用方式為


SPGlobalAdmin.AdminPortApplicationPoolId Property

NOTE: This API is now obsolete.

Use the Name property of the SPApplicationPool class to identify the application pool instance instead. (In Windows SharePoint Services 2.0 the AdminPortApplicationPoolId property got the administrative application pool ID, 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("Call SPAdministrationWebApplication.Local.ApplicationPool.Name instead.",  _
    False)> _
Public ReadOnly Property AdminPortApplicationPoolId As String
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As String

value = instance.AdminPortApplicationPoolId
[ObsoleteAttribute("Call SPAdministrationWebApplication.Local.ApplicationPool.Name instead.", 
    false)]
public string AdminPortApplicationPoolId { get; }

Property Value

Type: System.String
A string that contains the application pool ID.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace