Repository VersionIDToInternalID Method

See Also

This method translates an object-version identifier into an internal object-version identifier. Internal object-version identifiers are used by the Repository engine to identify Repository object versions.

Syntax

variable = object.VersionIDToInternalID( versionId )

The VersionIDToInternalID method syntax has the following parts.

Part Description
variable Receives the internal object-version identifier.
object The object that represents the open Repository instance through which this program is interacting with the Repository.
objectId The object-version identifier to be converted.

Remarks

Repository object-version identifiers are globally unique, and are the same across repositories for the same object version. Internal object-version identifiers are unique only within the scope of a single Repository.

The translation performed by this method is performed without loading the object version in question. This enables database queries involving an object or relationship type identifier to be constructed without having to load the definition object.