WebDAV .NET for Exchange > Tutorial > Search

You can search for resources in the Exchange store using a familiar Structured Query Language (SQL) syntax. Select statement specifies the list of item properties to return for each record. For every item (Appointment, Message, Contact, ...) exists appropriate property class (AppointmentProperty, MessageProperty, ContactProperty, ...) in namespace Independentsoft.Webdav.Exchange.Properties. These property classes define item's property names. In namespace Independentsoft.Webdav.Exchange.Sql you will find all necessary classes to create SQL query. The class SqlQuery has properties like Select, From, Where, etc. The following example shows you how to search for all sent messages where subject is like "test".

C# example
VB example