This collection specifies the root object that contains this workspace.
Collection descriptor | Descriptor value |
Relationship Type | WsContainer_Contains_Workspace |
Source Is Origin | No |
Minimum Collection Size | One |
Maximum Collection Size | Many |
Sequenced Collection | No |
Deletes Propagated | No |
Destinations Named | No |
Case-Sensitive Names | Not Applicable |
Unique Names | Not Applicable |
Set variable = object.Containers(index)
The Containers collection syntax has the following parts.
Part | Description |
Variable | A variable declared as a ReposRoot object or as any object that supports the IworkspaceContainer interface. Receives the object containing the interface. |
Object | The object that represents a Workspace object. |
Index | An integer index that identifies which element in the collection is to be addressed. This value must be one, because in this release, the root object is the only object that implements the IworkspaceContainer interface. |
Although the collection's maximum size is defined as many, the collection always contains exactly one object, because only the root object can contain workspaces and there is only one root object.