TaskServiceLibraryVersion Property

Gets the library version. This is the highest version supported by the local library. Tasks cannot be created using any compatibility level higher than this version.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[BrowsableAttribute(false)]
public static Version LibraryVersion { get; }

Property Value

Version
The library version.

Remarks

The following table list the various versions and their host operating system:
VersionOperating System
1.1Task Scheduler 1.0 (Windows Server™ 2003, Windows® XP, or Windows® 2000).
1.2Task Scheduler 2.0 (Windows Vista™, Windows Server™ 2008).
1.3Task Scheduler 2.1 (Windows® 7, Windows Server™ 2008 R2).
1.4Task Scheduler 2.2 (Windows® 8.x, Windows Server™ 2012).
1.5Task Scheduler 2.3 (Windows® 10, Windows Server™ 2016).
1.6Task Scheduler 2.4 (Windows® 10 Version 1703, Windows Server™ 2016 Version 1703).

See Also