![]() Since queries are simple strings, there is no strong-typing of query elements. However, DASL is not without its rough edges. The previous example generates a query that looks something SQL = ( "urn:schemas:httpmail:subject" LIKE '%VSTO%' AND "urn:schemas:httpmail:date" <= ' 3:20 PM' )įiltering items using DASL is more efficient than, say, iterating over every item in the collection to identify matching elements. The syntax is a variant of SQL, but instead of tables and columns you specify DASL properties which roughly correspond to properties on the various Outlook item interfaces. DASL is one of the ways to return a filtered view of items in an Outlook folder. ![]() ![]() Not very pretty, is it? Well, that’s the DAV Searching and Locating (DASL) query language for you. If you guessed “queries my Outlook inbox for mail with VSTO in the subject over 1 week old” you’d be correct. olFolderInbox ) string subject = "VSTO" string filter = LIKE '%" + subject. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |