SPUtility.GetFullUrl method
SharePoint 2013
Returns the absolute Universal Resource Locator (URL) for the specified server-relative URL.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- Site
- Type: Microsoft.SharePoint.SPSite
A Microsoft.SharePoint.SPSite object that represents the site.
- WebUrl
- Type: System.String
A string that contains the server-relative URL. For example, /[sites/]//. For information about the usage of URLs in Microsoft SharePoint Foundation, see URLs and tokens in SharePoint 2013.