This documentation is archived and is not being maintained.

SPWeb.PortalUrl Property

Windows SharePoint Services 3

Gets the URL to a portal site that is associated with the site.

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

Public ReadOnly Property PortalUrl As String
Dim instance As SPWeb
Dim value As String

value = instance.PortalUrl

Property Value

Type: System.String
A string that contains a URL that ends with a forward slash ("/"), as in "http://Portal_Name/".