Share via


TeamSiteCollection.Add Method

NOTE: This API is now obsolete.

Note: This API is included for backward compatibility only. It is not intended for use in future application or solution development.

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

Syntax

'Declaration
<ObsoleteAttribute> _
Public Function Add ( _
    teamSite As TeamSite _
) As TeamSite
'Usage
Dim instance As TeamSiteCollection
Dim teamSite As TeamSite
Dim returnValue As TeamSite

returnValue = instance.Add(teamSite)
[ObsoleteAttribute]
public TeamSite Add(
    TeamSite teamSite
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.Topology.TeamSite

See Also

Reference

TeamSiteCollection Class

TeamSiteCollection Members

Microsoft.SharePoint.Portal.Topology Namespace