2.2.6.1.2.8 SizeRestriction Structure

The SizeRestriction structure is used to test the size of a property value.

The SizeRestriction structure has the following format.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RestrictionType

RelOp

PropertyType

PropertyID

Size

RestrictionType (4 bytes): This field specifies the type of restriction and MUST be set to RES_SIZE (0x00000007) for the SizeRestriction structure.

RelOp (4 bytes):  This field specifies the relational operator that is to be used in the search. Valid values for this field are the same as those specified for the RelOp field of the PropertyRestriction structure in section 2.2.6.1.2.5.

PropertyType (2 bytes):  This field specifies the type of the property. Valid types are specified in section 2.2.6.1.3.

PropertyID (2 bytes):  This field specifies the property ID of the property.

Size (4 bytes):  This field specifies the size, in bytes, that MUST be compared with the size of the value of this property when performing the search.