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.
- zone
Type: Microsoft.SharePoint.Portal.Topology.PortalZone
Member 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.