ReposRoot Workspaces Collection

Meta Data Services Programming

Meta Data Services Programming

ReposRoot Workspaces Collection

This collection is the set of object versions checked out to a workspace.

Syntax

Set variable  =  object.Workspaces(index)

The Workspaces collection syntax has the following parts.

Part Description
variable A variable declared as a Workspace object. It receives the specified item in the collection.
object An object expression that evaluates to a ReposRoot object.
index An integer index that identifies which element in the collection is to be addressed. The valid range is from one to the number of elements in the collection. The number of elements in the collection is specified by object.Workspaces.Count.
Remarks

The following characteristics are true for this collection.

Collection characteristic Value Description
Relationship Type WsContainer_Contains_Workspaces This is the type of relationship by which all items of the collection are connected to a common source object.
Source Is Origin Yes The source object for the collection is also the origin object.
Minimum Collection Size Zero The minimum number of items that must be contained in the collection is zero.
Maximum Collection Size Many The maximum number of items that can be contained in the collection is unlimited.
Sequenced Collection No As a destination collection, this does not have an explicitly defined sequence. Collections of origin objects are never sequenced.
Deletes Propagated No Deleting an origin object or a relationship in the collection does not cause the deletion of a corresponding destination object.
Destinations Named No The relationship type for the collection does not permit the naming of destination objects.
Case-sensitive Names No The collection does not permit the use of case-sensitive names for destination objects.
Unique Names No The relationship type for the collection does not require that the name of a destination object be unique within the collection of destination objects.

See Also

ReposRoot Object

ReposTypeLib Object