| Platform SDK: Exchange Server |
The SizeCondition COM class defines an object with properties that you can use to test the size of a property.
Use the SizeCondition object to specify a condition based on the size of a CDO property.
The following example identifies messages whose Body property is greater than 1Mbyte.
const REL_GT = 2
const CdoPR_BODY = &H1000001E
Set SizeProp = CreateObject("MSExchange.SizeCondition")
SizeProp.PropertyTag = CdoPR_BODY
SizeProp.Operator = REL_GT
SizeProp.Size = &H100000
...