VersionedRelationship Pin Method

See Also

Marks a particular version of the target object as the pinned version.

Syntax

Call object.Pin( objectVersion )

The Pin method syntax has the following parts.

Part Description
object An object expression that evaluates to a VersionedRelationship object.
objectVersion The Repository object version to be pinned.

Remarks

The objectVersion you supply must be a member of the versioned relationship's TargetVersions collection.

Remember that no versioned relationship can have more than one pinned target object version. If the relationship already has a pinned target object version, it becomes unpinned when you call this method, and the objectVersion you supply becomes the pinned target object version.

If the relationship is a destination relationship, the Pin method fails.

If the origin of the relationship is unchangeable, the Pin method fails.