RepositoryObjectVersion Repository Property

See Also

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

Remarks

The returned reference can refer to either a Repository object or a Workspace object. If it refers to a Workspace object, you are manipulating the item within the context of that workspace. If it refers to a Repository object, you are manipulating the item not within the context of a workspace, but within the context of a shared Repository instance.