 | TaskSettingsStopIfGoingOnBatteries Property |
Gets or sets a Boolean value that indicates that the task will be stopped if the computer switches to battery power.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic bool StopIfGoingOnBatteries { get; set; }
Public Property StopIfGoingOnBatteries As Boolean
Get
Set
public:
property bool StopIfGoingOnBatteries {
bool get ();
void set (bool value);
}
Request Example
View SourceProperty Value
Type:
Boolean
See Also