VersionedRelationship Repository Property

See Also

The Repository property is the open Repository instance or workspace through which this relationship was instantiated. This is a read-only property.

Syntax

Set variable = object.Repository

The Repository property syntax has the following parts:

Part Description
variable A variable declared as a reference to any object implementing the IRepository interface. Receives the object that represents the open Repository instance or the workspace.
object An object expression that evaluates to a VersionedRelationship object.

Remarks

This method returns a reference to either a Repository object or a Workspace object. If it returns a Workspace object, you are manipulating the item within the context of that workspace. If it returns a Repository object, you are manipulating the item not within the context of a workspace, but within the context of a shared Repository instance.