Use this method to obtain a pointer to the currently open Repository's root object. The root object is the Repository object to which all other Repository objects are (either directly or indirectly) connected.
HRESULT get_RootObject(
IRepositoryObject **ppIRootObj
);
Parameters
*ppIRootObj
[out]
The IRepositoryObject interface pointer for the root Repository object.
Return Value
S_OK
The method completed successfully.
Error
This method failed to complete successfully.