We do not currently publish an API for accessing this information.
However, if you post back with what version of EG you are using and what information you want to access, I can provide a simple code snippet that will do the job. All of the usual caveats about unpublished, subject-to-change information will apply, of course.
I am using EG 4.1
I want to determine what my active repository is since some resources I would want will not be available in all repositories. I would like to be able to query the resources and then let the user know if he.she can use the stored process.
In a similar vein, I would want to query tables to create a custom dialogue
I'm still not exactly sure what you're after, but here are some instructions to get basic repository information. It's a proprietary, internal API and in order to keep it somewhat mysterious, I'm not going to really explain the code
1. Add a reference to SAS.EG.SDS.Metadata.dll and SAS.EG.SDS.Model.dll (found in the EG install directory)
2. Add this statement to the top of your C# file (assuming C# here -- let me know if you want a VB.NET translation):
3. Some C# code to get repository info and assign it to some UI label controls:
SAS.EG.SDS.Model.Broker _broker = new SAS.EG.SDS.Model.Broker();
SAS.EG.SDS.Metadata.IMetadataManager mm = _broker.MetadataManager;