PortalApplication.GetCanonicalUrl Method

NOTE: This API is now obsolete.

Gets the canonical form of a URL.

Namespace:  Microsoft.SharePoint.Portal
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Shared Function GetCanonicalUrl ( _
    url As String _
) As String
'Usage
Dim url As String
Dim returnValue As String

returnValue = PortalApplication.GetCanonicalUrl(url)
[ObsoleteAttribute("This class is obsolete.")]
public static string GetCanonicalUrl(
    string url
)

Parameters

Return Value

Type: System.String
A string that contains a canonical URL, with the base portion of the URL replaced by an identifier that can be used with the GetMappedUrl method.

See Also

Reference

PortalApplication Class

PortalApplication Members

Microsoft.SharePoint.Portal Namespace