SPVirtualServer.MakeFullUrl Method
NOTE: This API is now obsolete.
Obsolete. Converts the server-relative URL of a site to a full URL that includes the name of the server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public Function MakeFullUrl ( _
strUrl As String _
) As String
'Usage
Dim instance As SPVirtualServer
Dim strUrl As String
Dim returnValue As String
returnValue = instance.MakeFullUrl(strUrl)
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public string MakeFullUrl(
string strUrl
)
Parameters
strUrl
Type: System.StringA string that contains the server-relative URL of a site (for example, /sites/).
Return Value
Type: System.String
A string that contains the full URL (for example, https://Server_Name/sites/Site_Name).