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. |