Share via


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

The Add method of the DocumentWorkspaceCollection class adds the specified DocumentWorkspace object to the collection.

Parameters

documentWorkspace   The Microsoft.SharePoint.Portal.Topology.DocumentWorkspace to add.

Return Value

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

Remarks

The Add method calls the proc_putPortalWorkspace stored procedure to add the DocumentWorkspace instance to the PortalWorkspaces table, by populating the table columns with the properties of the DocumentWorkspace instance.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security