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

The Add method of the TeamSiteCollection class adds the specified TeamSite object to the collection.

Parameters

teamSite   The Microsoft.SharePoint.Portal.Topology.TeamSite to add.

Return Value

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

Remarks

The Add method calls the proc_putSite stored procedure to add the TeamSite instance to the Sites table, by populating the columns of a new record with the properties of the teamSite argument.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security