Workspace Version Property

See Also

Use this property to retrieve a particular repository object version from the workspace. This is a read-only property.

Syntax

Set variable  =  object.Version(versionId )

The Version property syntax has the following parts.

Part Description
Variable Declared as a RepositoryObjectVersion. 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 member is exposed by the IRepository2 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.

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

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.