AbortClearQueue Method

Aborts page currently in progress and moves all waiting pages to the Failed folder.

Syntax

   obj.AbortClearQueue(ServiceName string,)
   where obj is an OPScrUtil.PagerJobQueue object 

Parameters

None.

Return Type

Boolean.

Example

To stop any pages currently waiting to be sent, enter:

   Set obj = CreateObject("OPScrUtil.PagerJobQueue")
   bOK = obj.AbortClearQueue()

This example shows how to stop modem paging and clear the queue of waiting pages. The cleared pages will be moved to the 'Failed' folder and updated with a status indicating the user requested the pager message to be aborted.