ScriptFactory.CheckAndCancelRunningQueries Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to ensure that there are no queries left running. For every running query, user will be prompted whether to cancel it.
public:
virtual bool CheckAndCancelRunningQueries();
public bool CheckAndCancelRunningQueries ();
abstract member CheckAndCancelRunningQueries : unit -> bool
override this.CheckAndCancelRunningQueries : unit -> bool
Public Function CheckAndCancelRunningQueries () As Boolean
Returns
A Boolean value that is True
if all running queries have been cancelled, False
if user declined to cancel at least one query.