VersionedRelationship Repository Property

Meta Data Services Programming

Meta Data Services Programming

VersionedRelationship Repository Property

This property is the open repository instance or workspace through which this relationship was instantiated. 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 IRepositoryItem 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.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. It 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.

See Also

IRepositoryItem Interface

Relationship Object

VersionedRelationship Object