Objects Within Workspaces

Meta Data Services Programming

Meta Data Services Programming

Objects Within Workspaces

An object version can participate in a workspace in two ways:

  • An object version can be present in the workspace. That is, the workspace can contain the object version.

    Each workspace has a Versions collection containing the object versions present in the workspace. Use the Add method to include an object version in a workspace; use Remove to exclude an object version.

    Note  An object version can be present in more than one workspace. Each object version has a Workspaces collection containing the workspaces in which the object is present.

  • An object version can be checked out to a workspace.

    When an object version is checked out to a workspace, you can modify that object version only while operating in the workspace. Each workspace has a Checkouts collection containing the object versions checked out to the workspace. Use the Checkout and Checkin methods to control the contents of the Checkouts collection.

    Note  An object version can be checked out to no more than one workspace, and it can be checked out only to a workspace in which it is already present. Even when you check out an object version to a workspace, that object version can remain present in many other workspaces.

Workspaces support various kinds of collections that determine the scope of a workspace. For more information about the collections you can access in a workspace, see Retaining Workspace Context.

See Also

Managing Workspaces

Workspace Context