The Workspaces collection contains all of the workspaces in which the object version is present.
Set variable = object.Workspaces
The Workspaces collection syntax has the following parts.
| Part | Description |
| Variable | A variable declared as a VersionCol object. Receives a reference to the WorkspacesOfVersion collection. |
| Object | An object expression that evaluates to a RepositoryObjectVersion object. |