I'm trying to apply a DASL Filter [customized View] on a search Folder with this SQL query:
"http://schemas.microsoft.com/mapi/proptag/0x0FFF0102" = '000000001CF4984B1BD06249A3C1E9DBBE2C6F65E4C82200'
I'd like to select only mails by their entryIDs which I found in a previous search. The searchfolder contains definitely the mail with that entryID.
Applying sth like this on same folder
"http://schemas.microsoft.com/mapi/proptag/0x10810003" = '102'
works.
Is it not possible to do this? Or is my SQL query not correct?
If you know the
EntryID
, simply callNamespace.GetItemfromID
. There is no reason to search.UPDATE: On a more general note, OOM would not let you search on a binary (
PT_BINARY
) property. If using Redemption is an option (I am its author), its versions of RDOItems.Find/Restrict
will let you specify a binary property using the syntax above. To retrieve an RDOFolder object, create an instance of the RDOSession object and callRDOSession.GetRDOObjectFromOutlookObject
passing an instance of theMAPIFolder
object from OOM - you will get back anRDOFolder
object.