This collection contains all of the RepositoryObjectVersion objects that are related to the source object version through 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. It receives a reference to the TargetVersions collection. |
| object | An object expression that evaluates to a VersionedRelationship object. |