Add(Microsoft.SharePoint.Portal.Topology.PortalSite) Method

The Add method of the PortalSiteCollection class adds the specified PortalSite to the collection.

Parameters

portalSite   The Microsoft.SharePoint.Portal.Topology.PortalSite to add.

Return Value

The Microsoft.SharePoint.Portal.Topology.PortalSite added to the collection.

Remarks

The Add method calls the proc_putPortalSite stored procedure to add the PortalSite instance to the PortalSites table, by populating the columns of a new record with the properties of the portalSite argument.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security