Compartilhar via


MakeFullUrl Method

The MakeFullUrl method of the SPVirtualServer class converts the server-relative URL of a site to a full URL that includes the name of the server.

Parameters

strUrl   A string that contains the server-relative URL of a site (for example, /sites/Site_Name).

Return Value

A string that contains the full URL (for example, http://Server_Name/sites/Site_Name).

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security