MailboxQuery(String, MailboxSearchScope[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.