Share via


MatchScope Field

MatchScope Field

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

[Visual Basic] String

[C++] 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"

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.