Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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 |