Click or drag to resize
IScheduleApiDeleteSchedules Method
Deletes schedules for given employees in given time range.

Namespace: AMG.API
Assembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
int DeleteSchedules(
	int[] employeeIds,
	DateTime start,
	DateTime end
)

Parameters

employeeIds
Type: SystemInt32
Employee IDs
start
Type: SystemDateTime
Inclusive start date/time to delete schedules.
end
Type: SystemDateTime
Inclusive end date/time to delete schedules.

Return Value

Type: Int32
Returns number of deleted database rows.
See Also