Specifying Queue Properties to Retrieve


Updated: July 19, 2016

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 column structure MQCOLUMNSET is used to specify which queue properties Message Queuing will retrieve when it finds a queue. This structure contains a count of the properties to be retrieved and a pointer to a QUEUEPROPID array that contains the set of properties to be retrieved.

System_CAPS_ICON_note.jpg Note

You cannot retrieve the DNS path name of a queue because the DNS path name is not stored in the directory service.

The following example code shows a QUEUEPROPID and MQCOULMNSET structure that specifies two properties, the label and path name of the queue.

DWORD         cColumn = 0;  
aPropId[cColumn] = PROPID_Q_LABEL;  
aPropId[cColumn] = PROPID_Q_PATHNAME;  
Column.cCol = cColumn;  
Column.aCol = aqPropId;  

For information onSee
The structures used to specify the search criteriaSpecifying Search Criteria
Example code for locating queuesLocating Queue Examples

Community Additions