GetPoints along with type information takes longer than expected.

Discussion created by IOMHouston on May 19, 2011
Latest reply on May 19, 2011 by

I need to get a list of tags along with their type.

PointList points = this.TheOsiPiServer.GetPoints("tag = '*'");

foreach (PIPoint pt in points)
   coll.Add(new Obj(pt.Name, pt.Description, pt.PointType))



When executing this code, it seemed to be very slow for a system with 30K tags.


Is there a more optimal way of doing this?
What can I do to speed it up. 

Can the use of attributes help?