ScheduleManagerAddSchedule Method

Attempts to add a new Schedule.

Definition

Namespace: Gemstone.Scheduling
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.170 -- Release Build+d52ae7197b8b2924ea9e1e530d25301718816611
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