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, 8 Nov 2005 06:58:05 -0800,    group: microsoft.public.exchange2000.development        back       


Look up Public Folder with some specified property   
Hi,all

I have tried to use webdav to browse public folder on exchange server.
when I want to get public folder list

I tried the this query:
"<?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'>"
                        + "<g:sql>SELECT \"DAV:displayname\" FROM 
SCOPE('SHALLOW TRAVERSAL OF \"http://myserver/public/Contact" 
                        + "\"') WHERE \"DAV:isfolder\"=true " 
                        + "</g:sql></g:searchrequest>";
if I want to search the specified property,forexample,mailfolder.how to 
write this query:
below is the XML(property) when I get all property from public folder:
......
<a:isfolder b:dt="boolean">
1
</a:isfolder>
......
<a:contentclass>
urn:content-class:mailfolder
</a:contentclass>

Thanks in advanced
date: Tue, 8 Nov 2005 06:58:05 -0800   author:   jeff

RE: Look up Public Folder with some specified property   
Sorry, I got it work

"jeff" wrote:

> Hi,all
> 
> I have tried to use webdav to browse public folder on exchange server.
> when I want to get public folder list
> 
> I tried the this query:
> "<?xml version='1.0'?><g:searchrequest xmlns:g='DAV:'>"
>                         + "<g:sql>SELECT \"DAV:displayname\" FROM 
> SCOPE('SHALLOW TRAVERSAL OF \"http://myserver/public/Contact" 
>                         + "\"') WHERE \"DAV:isfolder\"=true " 
>                         + "</g:sql></g:searchrequest>";
> if I want to search the specified property,forexample,mailfolder.how to 
> write this query:
> below is the XML(property) when I get all property from public folder:
> .....
> <a:isfolder b:dt="boolean">
> 1
> </a:isfolder>
> .....
> <a:contentclass>
> urn:content-class:mailfolder
> </a:contentclass>
> 
> Thanks in advanced
date: Tue, 8 Nov 2005 07:50:31 -0800   author:   jeff

Google
 
Web ureader.com


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