Edit

Share via


ExchangeService.FindConversation Method

Definition

Overloads

FindConversation(ViewBase, FolderId, String, Boolean, Nullable<MailboxSearchLocation>)

Searches for and retrieves a collection of conversations in the specified folder according to the specified query. Along with conversations, a list of highlighted terms are returned. The target folder(s) may be a primary mailbox, an archive mailbox, or both. The FindConversation(ViewBase, FolderId, String, Boolean, Nullable<MailboxSearchLocation>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

FindConversation(ViewBase, FolderId, String, Boolean)

Searches for and retrieves a collection of conversations in the specified folder according to the specified query. Along with conversations, a list of highlighted terms are returned. The FindConversation(ViewBase, FolderId, String, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

FindConversation(ViewBase, FolderId)

Retrieves a collection of all conversations in the specified folder. The FindConversation(ViewBase, FolderId) method is applicable for clients that target Exchange Online and versions of Exchange starting with Microsoft Exchange Server 2010 Service Pack 1 (SP1).

FindConversation(ViewBase, FolderId, String)

Retrieves a collection of all conversations in the specified folder according to the specified query. The FindConversation(ViewBase, FolderId, String) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

FindConversation(ViewBase, FolderId, String, Boolean, Nullable<MailboxSearchLocation>)

Searches for and retrieves a collection of conversations in the specified folder according to the specified query. Along with conversations, a list of highlighted terms are returned. The target folder(s) may be a primary mailbox, an archive mailbox, or both. The FindConversation(ViewBase, FolderId, String, Boolean, Nullable<MailboxSearchLocation>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 Microsoft::Exchange::WebServices::Data::FindConversationResults ^ FindConversation(Microsoft::Exchange::WebServices::Data::ViewBase ^ view, Microsoft::Exchange::WebServices::Data::FolderId ^ folderId, System::String ^ queryString, bool returnHighlightTerms, Nullable<Microsoft::Exchange::WebServices::Data::MailboxSearchLocation> mailboxScope);
public Microsoft.Exchange.WebServices.Data.FindConversationResults FindConversation (Microsoft.Exchange.WebServices.Data.ViewBase view, Microsoft.Exchange.WebServices.Data.FolderId folderId, string queryString, bool returnHighlightTerms, Nullable<Microsoft.Exchange.WebServices.Data.MailboxSearchLocation> mailboxScope);

Parameters

view
ViewBase

The view controlling the number of conversations returned.

folderId
FolderId

The ID of the folder in which to search for conversations.

queryString
String

The query string for which the search is being performed.

returnHighlightTerms
Boolean

Flag indicating whether highlighted terms should be returned in the response.

mailboxScope
Nullable<MailboxSearchLocation>

The target mailbox is a primary mailbox, an archive mailbox, or both.

Returns

A collection of conversation objects.

Applies to

FindConversation(ViewBase, FolderId, String, Boolean)

Searches for and retrieves a collection of conversations in the specified folder according to the specified query. Along with conversations, a list of highlighted terms are returned. The FindConversation(ViewBase, FolderId, String, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 Microsoft::Exchange::WebServices::Data::FindConversationResults ^ FindConversation(Microsoft::Exchange::WebServices::Data::ViewBase ^ view, Microsoft::Exchange::WebServices::Data::FolderId ^ folderId, System::String ^ queryString, bool returnHighlightTerms);
public Microsoft.Exchange.WebServices.Data.FindConversationResults FindConversation (Microsoft.Exchange.WebServices.Data.ViewBase view, Microsoft.Exchange.WebServices.Data.FolderId folderId, string queryString, bool returnHighlightTerms);

Parameters

view
ViewBase

The view controlling the number of conversations returned.

folderId
FolderId

The ID of the folder in which to search for conversations.

queryString
String

The query string for which the search is being performed.

returnHighlightTerms
Boolean

Flag indicating whether highlighted terms should be returned in the response.

Returns

A collection of conversation objects.

Applies to

FindConversation(ViewBase, FolderId)

Retrieves a collection of all conversations in the specified folder. The FindConversation(ViewBase, FolderId) method is applicable for clients that target Exchange Online and versions of Exchange starting with Microsoft Exchange Server 2010 Service Pack 1 (SP1).

public:
 System::Collections::Generic::ICollection<Microsoft::Exchange::WebServices::Data::Conversation ^> ^ FindConversation(Microsoft::Exchange::WebServices::Data::ViewBase ^ view, Microsoft::Exchange::WebServices::Data::FolderId ^ folderId);
public System.Collections.Generic.ICollection<Microsoft.Exchange.WebServices.Data.Conversation> FindConversation (Microsoft.Exchange.WebServices.Data.ViewBase view, Microsoft.Exchange.WebServices.Data.FolderId folderId);

Parameters

view
ViewBase

The view controlling the number of conversations returned.

folderId
FolderId

The ID of the folder in which to search for conversations.

Returns

A collection of conversation objects.

Applies to

FindConversation(ViewBase, FolderId, String)

Retrieves a collection of all conversations in the specified folder according to the specified query. The FindConversation(ViewBase, FolderId, String) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 System::Collections::Generic::ICollection<Microsoft::Exchange::WebServices::Data::Conversation ^> ^ FindConversation(Microsoft::Exchange::WebServices::Data::ViewBase ^ view, Microsoft::Exchange::WebServices::Data::FolderId ^ folderId, System::String ^ queryString);
public System.Collections.Generic.ICollection<Microsoft.Exchange.WebServices.Data.Conversation> FindConversation (Microsoft.Exchange.WebServices.Data.ViewBase view, Microsoft.Exchange.WebServices.Data.FolderId folderId, string queryString);

Parameters

view
ViewBase

The view controlling the number of conversations returned.

folderId
FolderId

The ID of the folder in which to search for conversations.

queryString
String

The query string for which the search is being performed.

Returns

A collection of conversation objects.

Applies to