IRepository::InternalIDToObjectID

Meta Data Services Programming

Meta Data Services Programming

IRepository::InternalIDToObjectID

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
);

Parts

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 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 having to load the definition object.

See Also

IRepository Interface

IRepository::ObjectIDToInternalID