Platform SDK: Exchange Server |
The ComparePropsCondition COM class defines an object with properties that you can use to compare two properties.
Use the ComparePropsCondition object to compare two CDO properties.
The following example creates a condition that compares whether the CdoPR_ORIGINAL_SENSITIVITY and CdoPR_SENSITIVITY properties are equal.
const CdoPR_ORIGINAL_SENSITIVITY = &H002E0003 const CdoPR_SENSITIVITY = &H00360003 const REL_EQ = 7 Set myCmpPropCond = CreateObject("MSExchange.ComparePropsCondition") myCmpPropCond.Operator = REL_EQ myCmpPropCond.PropertyTag1 = CdoPR_ORIGINAL_SENSITIVITY myCmpPropCond.PropertyTag2 = CdoPR_SENSITIVITY ...