RepositoryObjectVersion Workspaces Collection

Meta Data Services Programming

Meta Data Services Programming

RepositoryObjectVersion Workspaces Collection

The Workspaces collection contains all of the workspaces in which the object version is present.

This collection is not attached to the default interface for the repository Automation object; it is attached to the IWorkspaceItem interface. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

Syntax

Set variable  = object.Workspaces(index)

The Workspaces collection syntax has the following parts.

Part Description
variable A variable declared as a VersionCol object. It receives a reference to the WorkspacesOfVersion collection.
object An object expression that evaluates to a RepositoryObjectVersion object.
index An integer index that identifies which member in the collection is to be addressed. The valid range is from one to the total number of members in the collection. For more information, see Selecting Items in a Collection.
Remarks

A workspace is a repository object. Within the Workspaces collection, workspaces are identified by object identifier or object name.

See Also

IWorkspaceItem Interface

RepositoryObjectVersion Object

Relationship Object