Accessing the Objects in a Workspace
You can retrieve a Repository object in the context of a workspace by doing one of the following:
-
Retrieving the object using the Object property that the workspace object exposes.
-
Retrieving the root object using the RootObject property that the workspace object exposes, and then moving to other objects by traversing relationships.
-
Retrieving the object from the workspace's Versions-of-Workspace collection.
Remember, when you retrieve an object using any of these alternatives, you retrieve the specific object version that is included in the workspace.