SPUtility.MapWebURLToVirtualServerURL method
SharePoint 2013
Returns the absolute Universal Resource Locator (URL) for the virtual server that contains the specified site.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the site.
- url
- Type: System.String
A string that contains the absolute URL for the site.