Partager via


PortalContext.SiteUrl, propriété (Microsoft.SharePoint.Portal)

Gets the URL of this portal site.

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

Syntaxe

'Déclaration
Public ReadOnly Property SiteUrl As String
'Utilisation
Dim instance As PortalContext
Dim value As String

value = instance.SiteUrl
public string SiteUrl { get; }

Valeur de la propriété

String that contains the URL of this portal site.

Remarques

The SiteUrl property uses the URL mapping table (through the PortalZone property) to return a context-sensitive URL based on the request URL, if available.

Voir aussi

Référence

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