次の方法で共有


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)

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