The Clear method removes all files from the queue.
Parameters
None.
Return Value
If the method succeeds, the return value is non-zero. If the
method fails, it will return zero. To get extended error information,
call GetLastError.
Remarks
This method can only be called when the queue is in an idle
state. An error will be returned if the method is called while the
queue manager is paused or actively transferring files in the queue.
To determine the current state of the queue, call the GetStatus
method.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csftpv12.lib
See Also
|