IRepository::InternalIDToObjectID

See Also

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

HRESULT InternalIDToObjectID(
VARIANT sInternalID,
VARIANT *sObjectId
);

Parameters

sInternalID

[in]
The internal identifier for the Repository object.

*sObjectId

[out]
The object identifier for the Repository object.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.

Remarks

Repository object identifiers are globally unique, and 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 having to load the definition object.