ScheduleManagerAddSchedule Method

Attempts to add a new Schedule.

Definition

Namespace: Gemstone.Scheduling
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
public bool AddSchedule(
	string scheduleName,
	string scheduleRule,
	bool useLocalTime = false,
	bool updateExisting = false
)

Parameters

scheduleName  String
Name of the new Schedule.
scheduleRule  String
Rule of the new Schedule.
useLocalTime  Boolean  (Optional)
Flag that determines whether to use local time for schedule.
updateExisting  Boolean  (Optional)
Flag that determines whether to update existing Schedule with the specified scheduleRule.

Return Value

Boolean
true if a new Schedule was added or an existing one was updated; otherwise false.

See Also