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.
variable = object.VersionIDToInternalID(versionId)
The VersionIDToInternalID method syntax has the following parts.
Part | Description |
Variable | Receives the internal identifier. |
Object | The object that represents the workspace through which this program is interacting with the repository. |
VersionId | The object-version identifier to be converted. |
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.
This member is exposed by the IRepository2 interface, a non-default interface for this object. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.