A TargetVersions collection contains all of the RepositoryObjectVersion objects that are related to the source object version via the versioned relationship.
Set variable = object.TargetVersions
The Properties collection syntax has the following parts.
| Part | Description |
| variable | A variable declared as a VersionCol object. Receives a reference to the TargetVersions collection. |
| object | An object expression that evaluates to a VersionedRelationship object. |