다음을 통해 공유


MQPROPERTYRESTRICTION

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The MQPROPERTYRESTRICTION structure defines a property restriction for a query. The property restriction consists of a comparison operator, a property identifier, and a property value. For detailed information about the properties that can be included in this structure, see Queue Properties.

typedef struct tagMQPROPERTYRESTRICTION  
{  
  ULONG rel;  
  PROPID prop;  
  MQPROPVARIANT prval;  
} MQPROPERTYRESTRICTION;  

Members

rel

Comparison operator for the property. Possible values include: less than (PRLT), less than or equal to (PRLE), equal (PREQ), not equal (PRNE), greater than or equal to (PRGE), and greater than (PRGT).

prop

Queue property identifier.

prval

Structure containing the comparison value (includes the type indicator and value of the property). For information about the structure defining the data type of prval, see MQPROPVARIANT.

Requirements

Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.

Windows 95/98/Me: Included in Windows 95 and later.

Header: Declared in Mq.h.

See Also

Message Queuing Structures
Queue Properties
MQLocateBegin
MQRESTRICTION
MQPROPVARIANT