Partager via


PortalSiteCollection.Add, méthode (Microsoft.SharePoint.Portal.Topology)

Note   The SharePoint Portal Server 2003 portal creation object model is deprecated in Microsoft Office SharePoint Server 2007. In Office SharePoint Server 2007, portals use the same provisioning process as Windows SharePoint Services sites. Therefore, any scripted Portal Site creation must be updated to use the Windows SharePoint Services 3.0 site creation APIs. If you want a new vServer, you can use the Windows SharePoint Services CreateWebApplication API before you create the site.

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

Syntaxe

'Déclaration
Public Function Add ( _
    portalSite As PortalSite _
) As PortalSite
'Utilisation
Dim instance As PortalSiteCollection
Dim portalSite As PortalSite
Dim returnValue As PortalSite

returnValue = instance.Add(portalSite)
public PortalSite Add (
    PortalSite portalSite
)

Paramètres

  • portalSite

Voir aussi

Référence

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