Share via


SPGlobalAdmin.AdminPortUrl property

NOTE: This API is now obsolete.

Use the GetResponseUri method of the SPWebApplication class to return the abolute root of the URI instead. (In Windows SharePoint Services 2.0 the AdminPortUrl property got the administration port used on the administration virtual server, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Call SPAdministrationWebApplication.Local.GetResponseUri() instead.",  _
    False)> _
Public ReadOnly Property AdminPortUrl As Uri
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As Uri

value = instance.AdminPortUrl
[ObsoleteAttribute("Call SPAdministrationWebApplication.Local.GetResponseUri() instead.", 
    false)]
public Uri AdminPortUrl { get; }

Property value

Type: System.Uri
An absolute uniform resource identifier (URI) that identifies the administration port.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace