 | TaskEnabled Property |
Gets or sets a Boolean value that indicates if the registered task is enabled.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic bool Enabled { get; set; }
Public Property Enabled As Boolean
Get
Set
public:
property bool Enabled {
bool get ();
void set (bool value);
}
Request Example
View SourceProperty Value
Type:
Boolean
Remarks
As of version 1.8.1, under V1 systems (prior to Vista), this property will immediately update the Disabled state and re-save the
current task. If changes have been made to the
TaskDefinition, then those changes will be saved.
See Also