Specifying Queue Properties to Retrieve
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.
|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.
QUEUEPROPID aPropId[MAX_PROP] MQCOLUMNSET Column; DWORD cColumn = 0; aPropId[cColumn] = PROPID_Q_LABEL; cColumn++; aPropId[cColumn] = PROPID_Q_PATHNAME; cColumn++; Column.cCol = cColumn; Column.aCol = aqPropId;