Re: Alternative to reading public folders with WMI?

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Tom Rizzo [MSFT] (thomriz_at_microsoft.com)
Date: 09/22/04


Date: Wed, 22 Sep 2004 02:47:57 -0700

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" <andrewgomes@hotmail.com> wrote in message 
news:2qsavhF13lnvmU1@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!
> 


Relevant Pages

  • Re: Recovering Unrecoverable Deleted Public Folders
    ... MVP - Exchange ... Using Recover Deleted Items to retrieve them, ... back five of the folders ... The news got worse - the server had to ...
    (microsoft.public.exchange.admin)
  • Re: Removing Empty, but Replicated Public Folders
    ... Public Folders attached to the Exchange 2003 server with the Show System ... When I go to the E2K7 Server's Public Folder Database, ...
    (microsoft.public.exchange.admin)
  • RE: Offline Address Book error on send/receive
    ... non-system folders. ... How to reset system folders in Exchange Server 2003 ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: Public Folder Migration Tool
    ... Thanks Steve, that was exactly what I did to replicate the folders, I just wanted to be sure of how to use the tool in case I have to do another 5.5 to 2000 migration. ... > because it uses WMI interfaces that were not implemented until Exchange ... > So you could install and Exchange 2003 Server, ...
    (microsoft.public.exchange.setup)
  • Re: Public Folder help
    ... This displays the list of folders. ... Dim strWinMgmts ' Connection string for WMI ... ' ExchangeLogon instances in the Exchange namespace. ...
    (microsoft.public.exchange.development)