Workspace Version Property

Meta Data Services Programming

Meta Data Services Programming

Workspace Version Property

This property retrieves a particular repository object version from the workspace. 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 IRepository2 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.Version(versionId)

The Version property syntax has the following parts.

Part Description
variable Declared as a RepositoryObjectVersion. It receives the repository object version.
object The object that represents the workspace through which this program is interacting with the repository.
versionId The object-version identifier for the repository object to be retrieved.
Remarks

This method returns an error if the requested version is not present in the workspace.

See Also

IRepository2 Interface

RepositoryObjectVersion Object

Workspace Object