Platform SDK: Exchange Server |
The logical operator for the condition.
[propget] HRESULT Operator([out,retval] LOGICALOP_TYPES* pVal); [propput] HRESULT Operator([in] LOGICALOP_TYPES Val);
Property Operator as LOGICALOP_TYPES
Use the Operator property to define conditions comprised of other sub-conditions. Values for this property can be one of the following enumerated types:
Name | Value | Description |
---|---|---|
L_AND | 1 | And |
L_OR | 2 | Or |
L_NOT | 3 | Not |
For example, using LogicalCondition objects, you can create conditions such as:
(Size < 1000) AND !( To == "Me")
The object model for this condition would be:
LogicalCondition.Operator = L_AND SizeCondition LogicalCondition.Operator = L_NOT ContentCondition