Accessing Objects in a Workspace

Meta Data Services Programming

Meta Data Services Programming

Accessing 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 navigating to other objects by traversing relationship collections.

  • Retrieving the object from the workspace Versions collection.

When you retrieve an object using any of these alternatives, you retrieve the specific object version that is included in the workspace. For more information, see Workspace Context.

See Also

Establishing Workspace Context

Managing Workspaces

Retaining Workspace Context