RepositoryObjectVersion CreateVersion Method

See Also

This method creates a new version of the Repository object, based on the current version.

Syntax

set variable = object.CreateVersion( versionID )

The Refresh method syntax has the following parts.

Part Description
variable An object expression that evaluates to a RepositoryObjectVersion object; receives a reference to the newly created object version.
object An object expression that evaluates to a RepositoryObjectVersion object.
versionID The value you want the Repository to use as an object-version identifier for the newly created object version. If you want the Repository to choose a value for you, set this parameter to EXT_VERSIONID_NULL.

Remarks

The current object version must be frozen.

The Repository creates the new version as unfrozen. Its property values are identical to the current object version's property values.

For each of the predecessor version's origin relationship collections, the Repository takes this action:

You cannot invoke this method while operating in a workspace.