3.1.4.3.4.3 Set the Enabled State of a Task

To set the enabled state of a task, the client MUST first know the path of the task. The path of the task is determined when the client creates the task or queries the server, as specified in section 3.1.4.3.6.

The client MUST then invoke the SchRpcEnableTask method with the following parameter values:

  •  The path of the existing task in the path parameter.

  • Zero (meaning not enabled) or 1 (meaning enabled) in the enabled parameter.