Share via


Remove(System.Guid) Method

The Remove method of the PortalSiteCollection class removes the PortalSite object specified by the siteId parameter from the topology of the server farm.

Parameters

siteId   The GUID representing the primary key of the portal site in the PortalSites table. No errors are reported for a valid GUID that is not a valid portal site identifier.

Remarks

The Remove method calls the proc_dropPortalSite stored procedure to remove the portal site that has siteId as its primary key value in the PortalSites table of the configuration database.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security