PortalSiteCollection.Remove 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 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.

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

Syntax

'Declaration
<ObsoleteAttribute> _
Public Sub Remove ( _
    siteId As Guid _
)
'Usage
Dim instance As PortalSiteCollection
Dim siteId As Guid

instance.Remove(siteId)
[ObsoleteAttribute]
public void Remove(
    Guid siteId
)

Parameters

See Also

Reference

PortalSiteCollection Class

PortalSiteCollection Members

Microsoft.SharePoint.Portal.Topology Namespace