Manipulating Workspaces

Operations on workspaces are supported at both the COM level and the Automation level. You can perform the following operations on a workspace.

To Use
Enumerate the workspaces in a Microsoft® Repository Workspaces collection of the IWorkspaceContainer interface that is exposed by the root Repository object.
Create a workspace CreateObject method of the IRepository interface that is exposed by the open Repository instance. Then use the Add method for the Workspaces collection to add the workspace to the collection of workspaces.
Delete a workspace Delete method of the IRepositoryItem interface that is exposed by the workspace object. If you attempt to delete a workspace that contains checked-out objects, the delete will fail.
Retrieve the root object in a workspace RootObject property of the IRepository interface that is exposed by the workspace object.
Enumerate the Repository objects contained in a workspace Contents collection of the IWorkspace interface that is exposed by the workspace object.
Enumerate the checked-out objects in a workspace Checkouts collection of the IWorkspace interface that is exposed by the workspace object.

For More Information   Repository Automation Reference, Repository COM Reference

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.