PortalSiteCollection.Add Method

NOTE: This API is now obsolete.

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 Microsoft SharePoint Foundation 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 SharePoint Foundation CreateWebApplication API before you create the site.

Namespace:  Microsoft.SharePoint.Portal.Topology
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute> _
Public Function Add ( _
    portalSite As PortalSite _
) As PortalSite
'Usage
Dim instance As PortalSiteCollection
Dim portalSite As PortalSite
Dim returnValue As PortalSite

returnValue = instance.Add(portalSite)
[ObsoleteAttribute]
public PortalSite Add(
    PortalSite portalSite
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.Topology.PortalSite

See Also

Reference

PortalSiteCollection Class

PortalSiteCollection Members

Microsoft.SharePoint.Portal.Topology Namespace