Remove(System.Guid) Method

The Remove method of the DocumentWorkspaceCollection class removes the DocumentWorkspace object specified by the workspaceId parameter from the topology of the server farm.

Parameters

workspaceId   The GUID representing the primary key of the DocumentWorkspace object in the PortalWorkspaces table.

Remarks

The Remove method calls the proc_dropPortalWorkspace stored procedure to drop the DocumentWorkspace object that has workspaceId as its primary key value in the PortalWorkspaces table.

No errors are reported for a valid GUID that is not a valid document workspace identifier.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security