Clear method

 

Purpose

The Clear method deletes all data items from a bag. This method corresponds to the MQAI call, "mqClearBag,", in the WebSphere MQ Programmable Command Formats and Administration Interface.

 

Format

Clear

 

Visual Basic Language Invocation

To delete all data itmes from a bag:

mqbag.Clear