Use this method to obtain a pointer to the root object of the currently open repository. 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
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.