Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stops this instance of the task.
Syntax
HRESULT Stop();
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The task was stopped. |
|
The user does not have permission to stop the task, the task is disabled, or the task is not allowed to be run on demand. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | taskschd.h |
Library | Taskschd.lib |
DLL | Taskschd.dll |