Partager via


MatchScope Field

Topic Last Modified: 2006-06-13

Defines where the event will fire relative to where it is saved. Also defines if the event is for items, folders, or both.

Full Name

https://schemas.microsoft.com/exchange/events/MatchScope

Variant Subtype

 String

 VT_BSTR

OLE DB Type

DBTYPE_WSTR

Remarks

For synchronous events this value can be: "ANY", "DEEP", or "SHALLOW".

For asynchronous events this value can be: "DEEP" or "EXACT".

The default value for this property is "Exact".

The following table defines the scope values:

Scope Value Definition

"ANY"

Within the scope of the MDB.

"DEEP"

Standard deep traversal.

"EXACT"

The folder only.

"SHALLOW"

The folder only.

"DEEP" can only be registered at the top-level folder. For more information, see Registering for Recursive Events.

This property is not valid for system events.

Example

"DEEP"