SPSite.MakeFullUrl Method

Returns the full URL for the specified server-relative URL.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


Public Function MakeFullUrl ( _
    strUrl As String _
) As String
Dim instance As SPSite
Dim strUrl As String
Dim returnValue As String

returnValue = instance.MakeFullUrl(strUrl)
public string MakeFullUrl(
    string strUrl


  • strUrl
    Type: System.String

    A string that specifies the server-relative URL.

Return Value

Type: System.String
A string that contains the full URL.

See Also


SPSite Class

SPSite Members

Microsoft.SharePoint Namespace