Partager via


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

Gets the mapped form of a canonical URL.

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

Syntaxe

'Déclaration
Public Shared Function GetMappedUrl ( _
    canonicalUrl As String, _
    zone As PortalZone _
) As String
'Utilisation
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
)

Paramètres

  • canonicalUrl
    The canonical URL to be mapped.
  • zone
    Member of the PortalZone enumeration that indicates the portal zone used to map the canonical URL.

Valeur de retour

String that contains the mapped form of the specified canonical URL.

Voir aussi

Référence

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