SPUtility.GetFullUrl Method
Returns the absolute Universal Resource Locator (URL) for the specified server-relative URL.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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 Describing Forms of URL Strings.