Note
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier les répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de changer de répertoire.
Note The PortalUrl constructor throws an InvalidOperationException when you try to create a portal URL with a URL name that already exists. To avoid this issue, use a try/catch block around any PortalUrl constructors.
Espace de noms : Microsoft.SharePoint.Portal.Topology
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public Function Add ( _
portalUrl As PortalUrl _
) As PortalUrl
'Utilisation
Dim instance As PortalUrlCollection
Dim portalUrl As PortalUrl
Dim returnValue As PortalUrl
returnValue = instance.Add(portalUrl)
public PortalUrl Add (
PortalUrl portalUrl
)
Paramètres
- portalUrl
Remarques
Voir aussi
Référence
PortalUrlCollection, classe
Membres PortalUrlCollection
Microsoft.SharePoint.Portal.Topology, espace de noms