IRepository::get_Object

Meta Data Services Programming

Meta Data Services Programming

IRepository::get_Object

This method retrieves an IRepositoryObject interface pointer to the specified repository object.

HRESULT get_Object(     VARIANT                 sObjectId,
    IRepositoryObject **ppIReposObj
);

Parts

sObjectId

[in]
The object identifier of the repository object to be retrieved.

*ppIReposObj

[out]
The IRepositoryObject interface pointer for the repository object.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

Remarks

The returned IRepositoryObject interface pointer refers to a specific version of the repository object. The repository engine follows a resolution strategy to choose a specific version.

See Also

IRepository Interface

Resolution Strategy for Objects and Object Versions