Filtering out Public Folders

C

Craig

Hi

I'm writing an .Net add-in (C#) which recruses the folder structure of 1 or
more PST files. While looping through the folders, I need to filter OUT any
public folders. What's the best approach to achieve this?

Craig
 
K

Ken Slovak - [MVP - Outlook]

PST files don't support Exchange public folders.

Would this PST file be there with an Exchange profile? To find the Public
Folders you would check the names of each MAPIFolder under
NameSpace.Folders. If it is "Public Folders" then you would disregard it.
 
Top