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

Syntax

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

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

Parameters

  • 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

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace