ScheduleManagerAddSchedule Method

Attempts to add a new Schedule.

Definition

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