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: Sun, 23 Sep 2007 19:10:01 -0700,    group: microsoft.public.exchange2000.development        back       


Query tasks for all exchange mailboxes   
I thought this would be a simple task but I have never done any programming 
where I needed to access data from Exchange.  I'm trying to compile a list of 
all open tasks that each user has in their exchange mailbox.  I simply want 
to query the data, so that I can print out a report of all open tasks.  Seems 
simple (I thought it would be something that I could query like SQL)  but I'm 
totally lost.  I'm using c# as my development tool.  I've been reading about 
OOM, CDO, etc.  Any ideas?  Just looking for someone to point me in the right 
direction.
Ben
date: Sun, 23 Sep 2007 19:10:01 -0700   author:   atl6373

Re: Query tasks for all exchange mailboxes   
Hello,

your task is not clear to me. Do you want to iterate through each users 
mailbox and compile those tasklist for each user? Or do you just want to 
create a task list for a specific user to print those in a certain 
environment?

The most suitable API depends on the location where your code will run. If 
it runs on the server, OOM is out of question, since Outlook is not 
supported on the server (not until Exchange 2007).

MAPI is also not suitable, since it's not supported from managed code. You 
can use WebDAV (http://msdn2.microsoft.com/en-us/library/aa486282.aspx), CDO 
via Interop or CdoEx (only directly on the server). If you are using 
Exchange 2007, you should probably use the WebServices offered by that 
version.

I have a bunch of articles on my website regarding WebDAV 
(http://www.infinitec.de).

Kind regards,
Henning Krause

"atl6373"  wrote in message 
news:2DAE7A22-8899-44D6-86AA-45874EC1B343@microsoft.com...
>I thought this would be a simple task but I have never done any programming
> where I needed to access data from Exchange.  I'm trying to compile a list 
> of
> all open tasks that each user has in their exchange mailbox.  I simply 
> want
> to query the data, so that I can print out a report of all open tasks. 
> Seems
> simple (I thought it would be something that I could query like SQL)  but 
> I'm
> totally lost.  I'm using c# as my development tool.  I've been reading 
> about
> OOM, CDO, etc.  Any ideas?  Just looking for someone to point me in the 
> right
> direction.
> Ben
date: Thu, 27 Sep 2007 23:00:29 +0200   author:   Henning Krause [MVP - Exchange]

Google
 
Web ureader.com


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