Click or drag to resize
Task Scheduler Managed Class Library

TriggerBuilderRunningAtMostFor Method (String)

Specifies the maximum amount of time to repeat the execution of a trigger.

Namespace:  Microsoft.Win32.TaskScheduler.Fluent
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TriggerBuilder RunningAtMostFor(
	string span
)
Request Example View Source

Parameters

span
Type: SystemString
The duration span string. Must be parsable by Parse(String).

Return Value

Type: TriggerBuilder
TriggerBuilder instance.
See Also