Partager via


PortalUrl, constructeur (String, Uri) (Microsoft.SharePoint.Portal.Topology)

Obsolete.

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

Syntaxe

'Déclaration
Public Sub New ( _
    name As String, _
    defaultUrl As Uri _
)
'Utilisation
Dim name As String
Dim defaultUrl As Uri

Dim instance As New PortalUrl(name, defaultUrl)
public PortalUrl (
    string name,
    Uri defaultUrl
)

Paramètres

  • name
  • defaultUrl

Remarques

The PortalUrl constructor throws an InvalidOperationException exception when you try to create a portal URL with an existing URL name. The workaround is to use a try/catch block around any PortalUrl constructors.

Voir aussi

Référence

PortalUrl, classe
Membres PortalUrl
Microsoft.SharePoint.Portal.Topology, espace de noms