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: Tue, 22 Nov 2005 14:11:05 -0800,    group: microsoft.public.exchange2000.development        back       


get record Count   
Hi, all

I use search method to search Public Folder.
Now, Because the record count is too huge, about 5000

So, First I want to get record count.

How to do it, use WEBDAV SearchMethod.

Thanks a lot

Any suggestion would be greatly apprecievated
date: Tue, 22 Nov 2005 14:11:05 -0800   author:   jeff

Re: get record Count   
The easiest way would be just to do a propfind on one of the folders content 
count properties. The DAV:VisibleCount property should suffice 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_iitem_visiblecount.asp 
or you could use the PR_CONTENT_COUNT mapi property eg

<?xml version='1.0'?>
<propfind xmlns="DAV:">
<prop xmlns:m="http://schemas.microsoft.com/mapi/proptag/">
<m:0x36020003/></prop>
</propfind>

Cheers
Glen

"jeff"  wrote in message 
news:0763E6A0-D3C2-4803-97D0-F5CD451AF326@microsoft.com...
> Hi, all
>
> I use search method to search Public Folder.
> Now, Because the record count is too huge, about 5000
>
> So, First I want to get record count.
>
> How to do it, use WEBDAV SearchMethod.
>
> Thanks a lot
>
> Any suggestion would be greatly apprecievated
>
>
>
date: Wed, 23 Nov 2005 10:03:40 +1100   author:   Glen Scales [MVP]

Google
 
Web ureader.com


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