Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: 13 Mar 2007 13:57:15 -0700,    group: microsoft.public.exchange.development        back       


Exchange 2003 and .NET 2.0   
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
date: 13 Mar 2007 13:57:15 -0700   author:   Fred

Re: Exchange 2003 and .NET 2.0   
"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
date: Tue, 13 Mar 2007 15:22:19 -0700   author:   Dan Mitchell

Re: Exchange 2003 and .NET 2.0   
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
date: Tue, 13 Mar 2007 16:26:24 -0700   author:   Henning Krause [MVP - Exchange]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us