The Suspend method pauses all file transfers for 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
If there is a file transfer in progress when this method is
called, the transfer will complete normally. The queue manager will
enter a suspended state after the transfer has completed and before it
begins processing the next file in the queue.
It is permitted to call the Suspend method from within a
queue event handler. In this case, the current file transfer will
complete and the queue manager will stop processing additional files
in the queue until it is resumed or stopped.
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
|