Workspace Repository Property

See Also

The Repository property is the open Repository instance through which this workspace 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 an instance of the Repository class. Receives the object that represents the open Repository instance.
object An object expression that evaluates to a Workspace object.

Remarks

This member is exposed by the IRepositoryObjectVersion interface, a non-default interface for this object. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.