PortalContext.GetMappedUrl Method
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
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)
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.