ExchangeAdvancedSyntaxQueryBuilder.Or method

Search messages that match either search key. Provides disjunction between two expressions (OR).

public MailQuery Or(MailQuery query1, MailQuery query2)
Parameter Type Description
query1 MailQuery The query1.
query2 MailQuery The query2.

Return Value

MailQuery that represents search query (one searching criterion).


exception condition
ArgumentNullException query1 or query2

See Also