Share via


PortalContext.GetMappedUrl Method

NOTE: This API is now obsolete.

Gets the context-sensitive URL for the specified canonical URL.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Function GetMappedUrl ( _
    canonicalUrl As String _
) As String
'Usage
Dim instance As PortalContext
Dim canonicalUrl As String
Dim returnValue As String

returnValue = instance.GetMappedUrl(canonicalUrl)
[ObsoleteAttribute("This class is obsolete.")]
public string GetMappedUrl(
    string canonicalUrl
)

Parameters

  • canonicalUrl
    Type: System.String

    A canonical URL for a portal site.

Return Value

Type: System.String
A string that contains the context-sensitive URL derived from the specified canonical URL.

See Also

Reference

PortalContext Class

PortalContext Members

Microsoft.SharePoint.Portal Namespace