Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ews.Search Method

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)

Search(EwsFolderId, EwsSearchParameter[])

Searches a folder for messages that match the specified searching criteria.

Declaration
public EwsMessageCollection Search(EwsFolderId folderId, params EwsSearchParameter[] condition)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder to search in.

EwsSearchParameter[] condition

Searching criteria.

Returns
Type Description
EwsMessageCollection

List of found messages.

Remarks

Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.

Search(EwsFolderId, EwsPageView, EwsSearchParameter[])

Searches a folder for messages that match the specified searching criteria.

Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsPageView pageView, params EwsSearchParameter[] condition)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder to search in.

EwsPageView pageView

Paging definition. Can be null (Nothing in VB.NET).

EwsSearchParameter[] condition

Searching criteria.

Returns
Type Description
EwsMessageCollection

List of found messages.

Remarks

Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.

Search(EwsFolderId, EwsItemFields, EwsSearchParameter[])

Searches a folder for messages that match the specified searching criteria.

Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, params EwsSearchParameter[] condition)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder to search in.

EwsItemFields fields

Set of item properties to be retrieved.

EwsSearchParameter[] condition

Searching criteria.

Returns
Type Description
EwsMessageCollection

List of found messages.

Remarks

Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.

Search(EwsFolderId, EwsItemFields, EwsPageView, EwsSearchParameter[])

Searches a folder for messages that match the specified searching criteria.

Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, EwsPageView pageView, params EwsSearchParameter[] condition)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder to search in.

EwsItemFields fields

Set of item properties to be retrieved.

EwsPageView pageView

Paging definition. Can be null (Nothing in VB.NET).

EwsSearchParameter[] condition

Searching criteria.

Returns
Type Description
EwsMessageCollection

List of found messages.

Remarks

Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.

Search(EwsFolderId, EwsItemFields, EwsListView, EwsSearchParameter[])

Searches a folder for messages that match the specified searching criteria.

Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, params EwsSearchParameter[] condition)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder to search in.

EwsItemFields fields

Set of item properties to be retrieved.

EwsListView listView

List view options. Can be null (Nothing in VB.NET).

EwsSearchParameter[] condition

Searching criteria.

Returns
Type Description
EwsMessageCollection

List of found messages.

Remarks

Searching criteria consist of one or more parameters. When multiple parameters are specified, the results is the intersection (AND) of all the messages that match.

Search(EwsFolderId, EwsItemFields, EwsListView, String)

Searches a folder for messages that match the specified searching criteria.

Declaration
public EwsMessageCollection Search(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, string queryString)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder to search in.

EwsItemFields fields

Set of item properties to be retrieved.

EwsListView listView

List view options. Can be null (Nothing in VB.NET).

String queryString

Searching criteria string in AQS syntax.

Returns
Type Description
EwsMessageCollection

List of found messages.

In This Article
  • Search(EwsFolderId, EwsSearchParameter[])
  • Search(EwsFolderId, EwsPageView, EwsSearchParameter[])
  • Search(EwsFolderId, EwsItemFields, EwsSearchParameter[])
  • Search(EwsFolderId, EwsItemFields, EwsPageView, EwsSearchParameter[])
  • Search(EwsFolderId, EwsItemFields, EwsListView, EwsSearchParameter[])
  • Search(EwsFolderId, EwsItemFields, EwsListView, String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies