PortalApplication.GetMappedUrl Method
NOTE: This API is now obsolete.
Gets the mapped form of a canonical URL.
Namespace: Microsoft.SharePoint.Portal
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
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)
[ObsoleteAttribute("This class is obsolete.")]
public static string GetMappedUrl(
string canonicalUrl,
PortalZone zone
)
Parameters
canonicalUrl
Type: System.StringThe canonical URL to be mapped.
zone
Type: Microsoft.SharePoint.Portal.Topology.PortalZoneMember of the PortalZone enumeration that indicates the portal zone used to map the canonical URL.
Return Value
Type: System.String
String that contains the mapped form of the specified canonical URL.