RepositoryObjectVersion Object

Meta Data Services Programming

Meta Data Services Programming

RepositoryObjectVersion Object

A Repository object is an object that is stored in the repository database, and is managed by the repository engine. A RepositoryObjectVersion object is a specific rendition of a RepositoryObject. Microsoft® SQL Server™ 2000 Meta Data Services can retain multiple renditions of a RepositoryObject so that you can reestablish historical states of a particular instance.

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
CheckOutWorkspace The workspace to which the object version is checked out.

This property is not a default interface member.

ClassName The name of a class that defines a repository object, as defined in an information model.

This property is not a default interface member.

ClassType The type of a class that defines repository objects, as defined in an information model.

This property is not a default interface member.

Interface The specified object interface.

This property is not a default interface member.

InternalID The internal object identifier that the repository engine uses to refer to the repository object.

This property is not a default interface member.

IsCheckedOut A flag that indicates whether the object version is checked out to a workspace.

This property is not a default interface member.

IsFrozen Indicates whether the object version is frozen.
Name The name of the repository object version.

This property is not a default interface member.

ObjectID The object identifier for the repository object.

This property is not a default interface member.

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.

This property is not a default interface member.

ResolutionType An enumerated property that identifies which criteria was used to select a repository object version.

This property is not a default interface member.

Type The type of the repository object.

This property is not a default interface member.

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
CreateVersion Creates a new version of the current object, based on the current object version.
Delete Deletes a repository object.

This method is not a default interface member.

FreezeVersion Fixes object version property values and origin collections, permanently preventing further modification to a specific version.
Lock Locks the repository object.

This method is not a default interface member.

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.

This method is not a default interface member.


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.

This collection is not a default interface member.

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.

This collection is not a default interface member.


See Also

RepositoryObject Object

Versioning Objects