title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RegisteredTask.Stop method |
For scripting, stops the registered task immediately. |
e4a533d8-5cf0-46ba-a603-f7a9c59ab0fd |
|
|
|
|
|
reference |
05/31/2018 |
For scripting, stops the registered task immediately.
RegisteredTask.Stop( _
ByVal flags _
)
-
flags [in]
-
Reserved. Must be zero.
This method does not return a value.
The RegisteredTask.Stop function stops all instances of the task.
System account users can stop a task, users with Administrator group privileges can stop a task, and if a user has rights to execute and read a task, then the user can stop the task. A user can stop the task instances that are running under the same credentials as the user account. In all other cases, the user is denied access to stop the task.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|