RepositoryObjectVersion Repository Property

Meta Data Services Programming

Meta Data Services Programming

RepositoryObjectVersion Repository Property

The Repository property is the open repository instance or workspace through which this repository object 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 IRepositoryObject 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 RepositoryObjectVersion object.
Remarks

The returned reference can refer to either a repository instance or a workspace. If it refers to a workspace, you manipulate the item within the context of that workspace. If it refers to a repository object, you manipulate the item within the context of a shared repository instance.

See Also

IRepositoryObject Interface

Repository Object

RepositoryObjectVersion Object