Share via


MapWebURLToVirtualServerURL Method

The MapWebURLToVirtualServerURL method of the SPUtility class returns the absolute URL for the virtual server that contains the specified site.

Parameters

web   A Microsoft.SharePoint.SPWeb object that represents the site.

url   A string that contains the absolute URL for the site.

Return Value

A string that contains the absolute URL for the virtual server.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security