Try using ADO or WebDAV directly. I'm assuming you're using Exchange 2000
or higher. You can do a hierarchal traversal which won't look at the folder
contents but will instead just return back the folder hierarchy which should
be a fast operation.
Tom
--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out
http://www.microsoft.com/MSPress/books/5517.asp
This posting is provided "AS IS" with no warranties, and confers no rights.
"Andrew Gomes" <an*********@hotmail.com> wrote in message
news:2q*************@uni-berlin.de...
Does anyone know if there is an alternative to reading Exchange 2003
public folders with WMI?
I am using WMI in VB.NET to read a list of public folders on an Exchange
2003 server. My problem is that it is INCREDIBLY slow!!! It seems to
reads in chunks from the server with a long delay between "chunks." The
other problem is that the server has over 60,000 public folders! (So you
can imagine how long this takes!)
Is there an alternative to WMI or does anyone know how to speed up the WMI
query?
Many thanks!