VersionedRelationship Target Property

Meta Data Services Programming

Meta Data Services Programming

VersionedRelationship Target Property

This property is the target object of the current version of the relationship. This is a read-only property.

This property is not attached to the default interface for the repository Automation object; it is attached to the IRelationship 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.Target

The Target property syntax has the following parts.

Part Description
variable A variable declared as a RepositoryObjectVersion. It receives the target object version for the relationship.
object An object expression that evaluates to a VersionedRelationship object.
Remarks

A versioned relationship can have a TargetVersions collection containing the set of object versions related (through the versioned relationship) to the source object version. The repository engine follows a resolution strategy to select a specific object version to return.

See Also

IRelationship Interface

Relationship Object

Resolution Strategy for Objects and Object Versions

VersionedRelationship Object