Share via


PortalApplication.GetMappedUrl Method

Gets the mapped form of a canonical URL.

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

Syntax

'Declaration
Public Shared Function GetMappedUrl ( _
    canonicalUrl As String, _
    zone As PortalZone _
) As String
'Usage
Dim canonicalUrl As String
Dim zone As PortalZone
Dim returnValue As String

returnValue = PortalApplication.GetMappedUrl(canonicalUrl, _
    zone)
public static string GetMappedUrl(
    string canonicalUrl,
    PortalZone zone
)

Parameters

  • canonicalUrl
    Type: System.String
    The canonical URL to be mapped.

Return Value

Type: System.String
String that contains the mapped form of the specified canonical URL.

See Also

Reference

PortalApplication Class

PortalApplication Members

Microsoft.SharePoint.Portal Namespace