Edit

Share via


MailboxQuery(String, MailboxSearchScope[]) Constructor

Definition

Creates a new instance of the MailboxQuery class. The MailboxQuery(String, MailboxSearchScope[]) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 MailboxQuery(System::String ^ query, cli::array <Microsoft::Exchange::WebServices::Data::MailboxSearchScope ^> ^ searchScopes);
public MailboxQuery (string query, Microsoft.Exchange.WebServices.Data.MailboxSearchScope[] searchScopes);
Public Sub New (query As String, searchScopes As MailboxSearchScope())

Parameters

query
String

The search query.

searchScopes
MailboxSearchScope[]

A collection of target mailboxes with their associated mailbox location types.

Applies to