SearchScope

The SearchScope element specifies the scope of a search.

<SearchScope> PrimaryOnly | ArchiveOnly | All </SearchScope>

MailboxSearchLocationType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

None.

Parent elements

MailboxSearchScope

Text value

The text value of the SearchScope element indicates the mailbox type that is searched for a discovery search. A text value of PrimaryOnly indicates that the primary mailbox is searched. A text value of ArchiveOnly indicates that the archive mailbox is searched. A text value of All indicates that both the primary and archive mailboxes are searched.

Remarks

This element was introduced in Exchange Server 2013.

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema name
Types schema
Validation file
Types.xsd
Can be empty