Hi, Before I go too deep in my research I'd like to know if the following is possible: 1- Can one search throught the whole Exchange database for messages for any user using a .NET API? 2- Can one search throught the whole Exchange database for contacts for any user using a .NET API? I have seen lots of sample to access one user's mailboxes, but nothing about managing the whole database. Also, is there a bundled API with .NET 2.0 or I must use third parties like WebDAV.NET ? Thanks a lot
"Fred" wrote in news:1173819435.368317.97290 @o5g2000hsb.googlegroups.com: > 1- Can one search throught the whole Exchange database for messages > for any user using a .NET API? See http://support.microsoft.com/kb/813349 for the Exchange APIs that are supported under .Net. Note that a question you haven't asked is "does my code have to run on the same machine as the Exchange server", because that also restricts which APIs you can use. ExOLEDB is probably what you want, but it means your code must run on the Exchange server machine. -- dan
Hello, > 1- Can one search throught the whole Exchange database for messages > for any user using a .NET API? No, you are restricted to one public folder tree or mailbox. > 2- Can one search throught the whole Exchange database for contacts > for any user using a .NET API? See above. > I have seen lots of sample to access one user's mailboxes, but nothing > about managing the whole database. Also, is there a bundled API > with .NET 2.0 or I must use third parties like WebDAV.NET ? There is no API bundled. You can either use WebDAV (and go through the pain of building an API yourself), or use ExOleDB with CDOEx via interop. As Dan Mitchell has written, this is limited to the Exchange server itself. There are two libraries which wrap the WebDAV thing: WebDAV.NET from Independentsoft (www.independentsoft.com) and my own library (www.infinitec.de). Best regards, Henning Krause