int setThrottle(int Threads)
This function establishes a limit on the number of concurrent scans that can run. Any additional threads will block until at least one of the active scans is completed.
The default value for the throttle setting is zero. When the throttle is set to zero then no limits are placed on the number of concurrent scans. In this mode, the application must limit the number of concurrent scans.
- Threads = The number of concurrent scans allowed.
- returns the number of Threads if successful otherwise snf_ERROR_EXCEPTION.