This method creates a new version of a repository object, based on the current version.
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. It 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 EXTVERSIONID_NULL, or you can leave it blank. |
The current object version must be frozen.
The repository engine creates the new version as unfrozen. Its property values are identical to the property values of the current object version.
For each of the predecessor version's origin relationship collections, the repository engine takes this action:
You cannot invoke this method while operating in a workspace.