This method obtains a pointer to the root object of the repository that is currently open. The root object is the repository object to which all other repository objects are (either directly or indirectly) connected.
HRESULT get_RootObject(
IRepositoryObject **ppIRootObj
);
*ppIRootObj
[out]
The IRepositoryObject interface pointer for the root repository object.
S_OK
The method completed successfully.
This method failed to complete successfully.