Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.MapWebURLToVirtualServerURL method

Returns the absolute Universal Resource Locator (URL) for the virtual server that contains the specified site.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static string MapWebURLToVirtualServerURL(
	SPWeb web,
	string url
)

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.

Return value

Type: System.String
A string that contains the absolute URL for the virtual server.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.