The Repository property is the open repository instance through which this workspace was instantiated. This is a read-only property.
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. |
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.