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
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