title: Salesforce Metadata apis
body: <p>I want to rerieve list of Metadata Component's like ApexClass using Salesforce Metadata API's.</p>
  
  <p>I'm getting list of all the Apex Classes(total no is 2246) that are on the Salesforce using the following Code and its taking too much time to retrieve these file names:</p>
  
  <pre><code>ListMetadataQuery query = new ListMetadataQuery();
  query.type = "ApexClass";
  double asOfVersion = 23.0;
  
  // Assume that the SOAP binding has already been established.
  
  FileProperties[] lmr = metadataService.listMetadata(
           new ListMetadataQuery[] { query }, asOfVersion);
  
  
  if (lmr != null)
  {
      foreach(FileProperties n in lmr)
      {
          string filename = n.fileName;
      }
  }
  </code></pre>
  
  <p>My requirement is to get list of Metadata Components(Apex Classes) which are developed by my organizasion only so that i can get the Salesforce Metadata Components which are relevant to me and possibly can save my time by not getting all the classes.</p>
  
  <p>How can I Achieve this?</p>
  
  <p>Reply as soon as possible.</p>
  
  <p>Thanks in advance.</p>