IRepository::ObjectIDToInternalID
This method translates an object identifier into an internal identifier. Internal identifiers are used by the repository engine to identify repository objects.
HRESULT ObjectIDToInternalID(
VARIANT sObjectID,
VARIANT *sInternalId
);
Parts
sObjectID
[in]
The object identifier for the repository object.
*sInternalId
[out]
The internal identifier for the repository object.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
Repository object identifiers are globally unique, and they are the same across repositories for the same object. Repository internal identifiers are unique only within the scope of a single repository.
The translation performed by this method is performed without loading the object in question. This enables database queries involving an object or relationship type identifier to be constructed without loading the definition object.