SPGlobalAdmin.AdminPortIISInstanceId Property
NOTE: This API is now obsolete.
Use the IisSettings property of the SPAdministrationWebApplication class to access the instance ID of the administration port instead. (In Windows SharePoint Services 2.0 the AdminPortIISInstanceId property got the administrative ID of the instance of Internet Information Services (IIS), 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 SPAdministrationWebApplication.Local.IisSettings instead.", _
False)> _
Public ReadOnly Property AdminPortIISInstanceId As Integer
Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As Integer
value = instance.AdminPortIISInstanceId
[ObsoleteAttribute("Use SPAdministrationWebApplication.Local.IisSettings instead.",
false)]
public int AdminPortIISInstanceId { get; }
Property Value
Type: System.Int32
A 32-bit integer that specifies the ID.