|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
WebDav: Folder property questionIs it possible to tell if a folder has been modified, I am doing a
recursive search and to speed things up I would like to skip non modified folders. There is property DAV:getlastmodified.
This property will be changed if you for example rename folder but not if you change folder content. (add or delete items) There are also properties http://schemas.microsoft.com/exchange/foldersize and DAV:childcount . I don't know how look like your Search but the best way will be to filter (make condition) all items with DAV:getlastmodified. Michael ------------------------------- If you need WebDAV API for Exchange server, use our component WebDAV .NET for Exchange. Check out http://www.independentsoft.com Show quote "doug" <ddal***@shortbus.net> wrote in message news:1111607065.829736.230710@o13g2000cwo.googlegroups.com... > Is it possible to tell if a folder has been modified, I am doing a > recursive search and to speed things up I would like to skip non > modified folders. > You may also want to look at search folders
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_web_storage_system_search_folders.asp?frame=true . These can be useful for speeding up recursive searches in some situations cant be used however for the public folder tree designated for MAPI clients. Cheers Glen Show quote "Michael" <mich***@discussions.microsoft.com> wrote in message news:u4%23EKX%23LFHA.3356@TK2MSFTNGP12.phx.gbl... > There is property DAV:getlastmodified. > This property will be changed if you for example rename folder but not if > you change folder content. (add or delete items) > > There are also properties http://schemas.microsoft.com/exchange/foldersize > and DAV:childcount . > > I don't know how look like your Search but the best way will be to filter > (make condition) all items with DAV:getlastmodified. > > Michael > ------------------------------- > If you need WebDAV API for Exchange server, > use our component WebDAV .NET for Exchange. > Check out http://www.independentsoft.com > > "doug" <ddal***@shortbus.net> wrote in message > news:1111607065.829736.230710@o13g2000cwo.googlegroups.com... >> Is it possible to tell if a folder has been modified, I am doing a >> recursive search and to speed things up I would like to skip non >> modified folders. >> > > Unfortunately I only have read access to the exchange store, do you
have suggestions for how to speed up a search through all files and folders for contacts and email headers, currently I look through each folder, get the folder type then store contacts, and then store emails and then the same for all subfolders. It is a slow process and I am looking for thoughts on how to speed it up. I also only have a success field with a date in it for the last successful search for data, storing the number of items in each folder would not be route I could follow. Would a deep traversal speed this up? You could try a hierarchical traversal. It will only search folders, not
contents. So you could say, return back to me all email and contact folders. For last modified information and stuff like that, you'll have to peek in. One other option that may speed you up is full-text search. Tom -- Show quoteLooking for a good book on programming Exchange, Outlook, ADSI and SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp This posting is provided "AS IS" with no warranties, and confers no rights. "doug" <ddal***@shortbus.net> wrote in message news:1111795165.065709.180180@z14g2000cwz.googlegroups.com... > Unfortunately I only have read access to the exchange store, do you > have suggestions for how to speed up a search through all files and > folders for contacts and email headers, currently I look through each > folder, get the folder type then store contacts, and then store emails > and then the same for all subfolders. It is a slow process and I am > looking for thoughts on how to speed it up. I also only have a success > field with a date in it for the last successful search for data, > storing the number of items in each folder would not be route I could > follow. Would a deep traversal speed this up? > SELECT "DAV:displayname"
FROM SCOPE('hierarchical traversal of "http://myserver/publicinfo"') You'll have to test what properties you can pass in the first part of the select since if memory serves me right, you can only pass folder properties, not item properties to return back. -- Show quoteLooking for a good book on programming Exchange, Outlook, ADSI and SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp This posting is provided "AS IS" with no warranties, and confers no rights. "doug" <ddal***@shortbus.net> wrote in message news:1111983585.093292.75480@o13g2000cwo.googlegroups.com... > what would that web dav query look like? > Hello,
are you using Exchange 2003? If yes, you can use something called WebDAV replication. Have not used it myself up to now, but it ssems to be exactly what you want. Here is more information on this topic: http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_esdk_arch_webdav_replication.asp Greetings, Henning Krause [MVP] ========================== Visit my website: http://www.infinitec.de Try my free Exchange Explorer: Mistaya (http://www.infinitec.de/software/mistaya.aspx) Show quote "doug" <ddal***@shortbus.net> wrote in message news:1111607065.829736.230710@o13g2000cwo.googlegroups.com... > Is it possible to tell if a folder has been modified, I am doing a > recursive search and to speed things up I would like to skip non > modified folders. > |
|||||||||||||||||||||||