Partager via


PortalContext.GetMappedUrl, méthode (Microsoft.SharePoint.Portal)

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

Espace de noms : Microsoft.SharePoint.Portal
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Function GetMappedUrl ( _
    canonicalUrl As String _
) As String
'Utilisation
Dim instance As PortalContext
Dim canonicalUrl As String
Dim returnValue As String

returnValue = instance.GetMappedUrl(canonicalUrl)
public string GetMappedUrl (
    string canonicalUrl
)

Paramètres

  • canonicalUrl
    A canonical URL for a portal site.

Valeur de retour

A string that contains the context-sensitive URL derived from the specified canonical URL.

Voir aussi

Référence

PortalContext, classe
Membres PortalContext
Microsoft.SharePoint.Portal, espace de noms