title: The type or namespace name 'ConnectionOptions' could not be found
body: <pre><code>Error 2 The type or namespace name 'ConnectionOptions' could not be found (are you missing a using directive or an assembly reference?)
  C:\Users\user\Documents\Visual Studio 2010\WebSites\Service\App_Code\PService.cs    55  10  C:\...\Service\
  </code></pre>
  
  <p>when trying to use  the code in  </p>
  
  <pre><code> [WebMethod]
   public ConnectionOptions remoteconnection(string MyComputerName, string ip)
   {
       ConnectionOptions connOptions = new ConnectionOptions();
  
       return connOptions ;
  
   }
  </code></pre>
  
  <p>While the same code when copied in webApplication gives no error.I have included using system.Management in both the files..</p>