Le Café Central de DeVa
let.us.develop.share.messaging.more... DeVa blogs!!
I changed the way of blogging. Re-designed the site & started using the latest Windows Live Writer 2011!! Additionally added Microsoft Translator gadget available @ top of page, so that you can change the page in your preferred language!!
Hi, I am Deva working with Microsoft Dev. Messaging & Collaboration team.
This blog will assist developers who design/develop custom applications using Microsoft Messaging libraries. I will try to touch base other developer related info too.
Let us talk.develop.messaging.share.more.
1: Sub TestSearch()
2:
3: Dim fpath As String
4: Dim oStre As Outlook.Store
5:
6: For Each oStre In Outlook.Session.Stores
7: fpath = "'" & oStre.GetRootFolder.folderPath & "'"
8: Debug.Print fpath & " IsSearchSynchronous = " & Application.IsSearchSynchronous(fpath)
9: Next
10:
11: End Sub
Output:
Note:
+ You must enclose the folder path (fpath) with single quotes – refer the above example + If the search is synchronous, the AdvancedSearch method will not return until the search has completed. + On the contrary, if the search is asynchronous, the AdvancedSearch method will immediately return. + In order to get meaningful results from an asynchronous search, use the AdvancedSearchComplete event to notify you when the search has finished.
Happy programming!!
Recently I was talking to one of my customer. He was suggesting why MS should consider SQL instead of ESE(Extensible Storage Engine) db. It just remembered the famous old blog post at Exchange team blog – just referenced him the same