RepositoryObjectVersion Object

See Also

A Microsoft® Repository object is an object that is stored in the Repository database, and is managed by the Repository engine. A Repository object version is a specific rendition of that Repository object. The repository can retain multiple renditions of a Repository object so that you can reestablish historical states of the repository.

A Repository object version is also an Automation object.

When to Use

Use the RepositoryObjectVersion object to manipulate the properties of a Repository object version, to delete a Repository object version, or to refresh the cached image of a Repository object version.

Properties

Property Description

CheckedOutToWorkspace The workspace to which the object version is checked out.
Interface The specified object interface.
InternalID The internal object identifier that the repository uses to refer to the Repository object.
IsCheckedOut Indicates whether the object version is checked out to any workspace.
IsFrozen Indicates whether the object version is frozen.
Name The name of the Repository object version.
ObjectID The object identifier for the Repository object.
PredecessorCreationVersion The object version from which the current object version was originally created.
Repository The open repository instance through which this Repository object was instantiated.
ResolutionType Indicates why the repository returned this particular version of the object to your program, rather than returning some other version of the same object.
Type The type of the Repository object.
VersionID The object-version identifier for the Repository object version.
VersionInternalID The internal object-version identifier that the repository uses to refer to the Repository object version.

Methods

Method Description

Checkin Terminates a workspace’s ability to modify the object version, and allows other workspaces to check out the object version.
Checkout Claims for the current workspace the exclusive privilege to modify the object version.
CreateVersion Creates a new version of the current object, based on the current object version.
Delete Deletes a Repository object.
FreezeVersion Fixes the object version's property values and origin collections – safeguarding them from further modification.
Lock Locks the Repository object.
MergeVersion Modifies the current object version by combining its property values and collection with those of another version of the same Repository object.
Refresh Refreshes the cached image of a Repository object.

Collections

Collection Description

ObjectVersions The collection of all the versions of the current Repository object.
PredecessorVersions The collection of all immediate predecessor versions of the current Repository object version.
Properties The collection of all of the properties that are attached to the Repository object.
SuccessorVersions The collection of all immediate successor versions of the current Repository object version.
Workspaces The collection of all workspaces in which the current object version is present.

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