ISDBScriptControl::Terminate

From MediaMonkey Wiki
Revision as of 20:27, 20 April 2013 by Michal.kocarek (talk | contribs) (style)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBScriptControl, Interface ISDBScriptControl

Property Get Terminate As Boolean


Property description

Returns TRUE if MediaMonkey wants to terminate the script, e.g. because the user commanded so.

A script should regularly check this property if it's doing long-running work, e.g. in each iteration of long loop. If the Terminate property returns TRUE, the script should terminate as safe and quickly as possible.