ScheduleManagerAddSchedule Method

Attempts to add a new Schedule.

Definition

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