Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

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/".
Show:
© 2015 Microsoft