ScheduleManagerAddSchedule Method

Attempts to add a new Schedule.

Definition

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