Clear method
Purpose
The Clear method deletes all data items from a bag. This method corresponds to the MQAI call, "mqClearBag,", in the Programmable command formats reference.
Format
- Clear
Visual Basic Language Invocation
To delete all data itmes from a bag:mqbag.Clear