Sun Java System Message Queue 4.3 Developer's Guide for C Clients

MQGetPropertyType

The MQGetPropertyType function returns the type of the property value for a property key in the specified properties handle.


MQGetPropertyType (const MQPropertiesHandle  propertiesHandle,
                         ConstMQString key,
                         MQType * propertyType);

Return Value

MQStatus. See the MQStatusIsError() function for more information.

Parameters

propertiesHandle

A properties handle that you want to access.

key

The property key for which you want to get the type of the property value.

propertyType

Output parameter for the type of the property value.

Use the appropriate MQGet...Property function to find the value of the specified property key.

Common Errors

MQ_NOT_FOUND