Aspose::Email::Clients::Exchange::ExchangeQueryBuilder Class Referencefinal

Represents the builder of search expression based on search filters that used by Exchange protocol. More...

Inherits Aspose::Email::Tools::Search::MailQueryBuilder.

Public Member Functions

System::SharedPtr< Tools::Search::IntComparisonFieldget_ItemSize () const
 Gets the field that allows to find items with a specified size. More...
 
System::SharedPtr< Tools::Search::EnumComparisonFieldget_TaskStatus () const
 Gets the field that allows to find tasks that contains the specified status. Server compatibility: Exchange 2010 and higher More...
 
System::SharedPtr< Tools::Search::StringComparisonFieldget_MessageId () const
 Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field. More...
 
System::SharedPtr< Tools::Search::StringComparisonFieldget_ContentClass () const
 Gets items with an specified content class. More...
 
System::SharedPtr< ExtendedPropertiesComparisonFieldget_ExtendedProperties () const
 Gets dictionary with pairs of property descriptors and comparison field to search by extended properties. More...
 
System::SharedPtr< AppointmentQueryBuilderget_Appointment () const
 Gets object with appointment properties to create query More...
 
System::SharedPtr< ContactQueryBuilderget_Contact () const
 Gets object with contact properties to create query More...
 
 ExchangeQueryBuilder ()
 Initializes a new instance of the ExchangeQueryBuilder class. More...
 
System::SharedPtr< Tools::Search::MailQueryHasFlags (ExchangeMessageFlag flags)
 Search messages with the specified flags. More...
 
System::SharedPtr< Tools::Search::MailQueryHasNoFlags (ExchangeMessageFlag flags)
 Search messages with the unspecified flags. More...
 
- Public Member Functions inherited from Aspose::Email::Tools::Search::MailQueryBuilder
System::SharedPtr< StringComparisonFieldget_To () const
 Gets the field that allows to find messages that contain the specified string in the envelope structure's TO field. More...
 
System::SharedPtr< StringComparisonFieldget_Text () const
 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. More...
 
System::SharedPtr< StringComparisonFieldget_Bcc () const
 Gets the field that allows to find messages that contain the specified string in the envelope structure's BCC field. More...
 
System::SharedPtr< StringComparisonFieldget_Body () const
 Gets the field that allows to find messages that contain the specified string in the body of the message. More...
 
System::SharedPtr< StringComparisonFieldget_Cc () const
 Gets the field that allows to find messages that contain the specified string in the envelope structure's CC field. More...
 
System::SharedPtr< StringComparisonFieldget_From () const
 Gets the field that allows to find messages that contain the specified string in the envelope structure's FROM field. More...
 
System::SharedPtr< StringComparisonFieldget_Subject () const
 Gets the field that allows to find messages that contain the specified string in the envelope structure's SUBJECT field. More...
 
System::SharedPtr< System::Text::Encoding > get_DefaultEncoding () const
 Gets default encoding (charset) for query builder More...
 
System::SharedPtr< DateComparisonFieldget_InternalDate () const
 Gets the field that allows to find messages by internal date. More...
 
System::SharedPtr< DateComparisonFieldget_SentDate () const
 Gets the field that allows to find messages by sent date. More...
 
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< MailQuery > > > get_KeyCollection () const
 Gets the key collection. More...
 
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< MailQuery > > > get_OrderByCollection () const
 Gets the key collection. More...
 
 MailQueryBuilder ()
 Initializes a new instance of the MailQueryBuilder class. More...
 
 MailQueryBuilder (System::SharedPtr< System::Text::Encoding > defaultEncoding)
 Initializes a new instance of the MailQueryBuilder class. More...
 
System::SharedPtr< MailQueryOr (System::SharedPtr< MailQuery > query1, System::SharedPtr< MailQuery > query2)
 Search messages that match either search key. Provides disjunction between two expressions (OR). More...
 
System::SharedPtr< MailQueryGetQuery ()
 Gets the query. More...
 
System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object > > > GetOptions ()
 
void Clear ()
 Clears query. More...
 

Protected Member Functions

virtual ~ExchangeQueryBuilder ()
 
- Protected Member Functions inherited from Aspose::Email::Tools::Search::MailQueryBuilder
virtual ~MailQueryBuilder ()
 

Detailed Description

Represents the builder of search expression based on search filters that used by Exchange protocol.

Constructor & Destructor Documentation

◆ ExchangeQueryBuilder()

Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::ExchangeQueryBuilder ( )

Initializes a new instance of the ExchangeQueryBuilder class.

◆ ~ExchangeQueryBuilder()

virtual Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::~ExchangeQueryBuilder ( )
protectedvirtual

Member Function Documentation

◆ get_Appointment()

System::SharedPtr<AppointmentQueryBuilder> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::get_Appointment ( ) const

Gets object with appointment properties to create query

◆ get_Contact()

System::SharedPtr<ContactQueryBuilder> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::get_Contact ( ) const

Gets object with contact properties to create query

◆ get_ContentClass()

System::SharedPtr<Tools::Search::StringComparisonField> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::get_ContentClass ( ) const

Gets items with an specified content class.

The StringComparisonField that represents a content class.

◆ get_ExtendedProperties()

System::SharedPtr<ExtendedPropertiesComparisonField> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::get_ExtendedProperties ( ) const

Gets dictionary with pairs of property descriptors and comparison field to search by extended properties.

◆ get_ItemSize()

System::SharedPtr<Tools::Search::IntComparisonField> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::get_ItemSize ( ) const

Gets the field that allows to find items with a specified size.

◆ get_MessageId()

System::SharedPtr<Tools::Search::StringComparisonField> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::get_MessageId ( ) const

Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field.

The DateComparisonField that represents MessageId search field.

◆ get_TaskStatus()

System::SharedPtr<Tools::Search::EnumComparisonField> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::get_TaskStatus ( ) const

Gets the field that allows to find tasks that contains the specified status. Server compatibility: Exchange 2010 and higher

◆ HasFlags()

System::SharedPtr<Tools::Search::MailQuery> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::HasFlags ( ExchangeMessageFlag  flags)

Search messages with the specified flags.

Parameters
flagsThe flags.
Returns
MailQuery that represents search query (one searching criteria).

◆ HasNoFlags()

System::SharedPtr<Tools::Search::MailQuery> Aspose::Email::Clients::Exchange::ExchangeQueryBuilder::HasNoFlags ( ExchangeMessageFlag  flags)

Search messages with the unspecified flags.

Parameters
flagsThe flags.
Returns
MailQuery that represents search query (one searching criteria).