This documentation is archived and is not being maintained.

ContainmentModeType Enumeration

The ContainmentModeType enumeration identifies the boundaries of a search.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

[SerializableAttribute] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum ContainmentModeType
/** @attribute SerializableAttribute() */ 
/** @attribute XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
public enum ContainmentModeType
SerializableAttribute 
XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
public enum ContainmentModeType

Member nameDescription
ExactPhraseSpecifies that the comparison is between the exact phrase in the property and the constant. If the phrase and the supplied constant are the same, the expression resolves to true.
FullStringSpecifies that the comparison is between the full string value of the property and the constant. If the property value and the supplied constant are the same, the expression resolves to true.
PrefixedSpecifies that the comparison is between the prefix of the property and the constant. If the prefix of the property value matches the value that is provided in the constant, the expression resolves to true.
PrefixOnWordsSpecifies that the comparison is between a prefix on any individual word in the property value and the constant. If any of the words are prefixed with a value that matches the value that is provided in the constant, the expression resolves to true.
SubstringSpecifies that the comparison is between a substring of the property value and the constant. If the substring exists anywhere in the property value, the expression resolves to true.

This enumeration is used by the ContainmentMode property of the ContainsExpressionType object.


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
Show: