PortalUrl Property
Collapse the table of content
Expand the table of content

SPWeb.PortalUrl Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public string PortalUrl { get; }

Property Value

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