Using GetRepositories to Get the Registered Repositories

You can get the repositories that are registered on a SAS Metadata Server by issuing the GetRepositories method. For more information, see GetRepositories. The following is an example of a GetRepositories request that is formatted for the INMETADATA parameter of the DoRequest method.
<GetRepositories>
   <Repositories/>
   <Flags>0</Flags>
   <Options/>
 </GetRepositories>
The request gets the Id, Name, Desc and DefaultNS attributes of all repositories registered on the SAS Metadata Server. Here is an example of the output returned by the SAS Metadata Server:
<!-- Using the GETREPOSITORIES method. -->

<GetRepositories>
     <Repositories>
        <Repository  Id="A0000001.A55WR3E8" Name="Foundation" Desc=" "
DefaultNS="SAS"/> 
        <Repository  Id="A0000001.A59XXOKF" Name="Custom" Desc=" "
DefaultNS="SAS"/> 
        <Repository  Id="A0000001.A5NJI601" Name="Custom2" Desc=" "
DefaultNS="SAS"/> 
        <Repository  Id="A0000001.A5J5NMEG" Name="Custom3" Desc=" "
DefaultNS="SAS"/> 
        <Repository  Id="A0000001.A5G61RLY8" Name="Project" Desc=" "
DefaultNS="SAS"/>
    </Repositories> 
  </GetRepositories>
The current SAS Repository Manager has five repositories registered in it: Foundation, Custom, Custom2, Custom3, and Project.