ExchangeAdvancedSyntaxQueryBuilder

ExchangeAdvancedSyntaxQueryBuilder class

Represents the builder of search expression based on the Advanced Query Syntax (AQS) that used by Exchange protocol. AQS is an alternative to search filters for expressing search criteria.

public sealed class ExchangeAdvancedSyntaxQueryBuilder : MailQueryBuilder

Constructors

Name Description
ExchangeAdvancedSyntaxQueryBuilder() The default constructor.

Properties

Name Description
Attachment { get; } Gets the field that allows to find items with a specified attachment name.
Bcc { get; } Gets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field.
Body { get; } Gets the field that allows to find messages that contain the specified string in the body of the message.
Category { get; }
Cc { get; } Gets the field that allows to find messages that contain the specified string in the envelope structure’s CC field.
DefaultEncoding { get; } Gets default encoding (charset) for query builder
From { get; } Gets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field.
HasAttachment { get; }
Importance { get; }
InternalDate { get; } Gets the field that allows to find messages by internal date.
Isflagged { get; }
IsRead { get; }
Kind { get; }
Participants { get; }
SentDate { get; } Gets the field that allows to find messages by sent date.
Size { get; }
Subject { get; } Gets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field.
Text { get; } Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message.
To { get; } Gets the field that allows to find messages that contain the specified string in the envelope structure’s TO field.

Methods

Name Description
GetQuery() Gets the query. (2 methods)
Or(MailQuery, MailQuery) Search messages that match either search key. Provides disjunction between two expressions (OR). (2 methods)

See Also