Click or drag to resize
WebServiceAppointmentControllerDeleteAppointment Method (ISchedulerInfo, AppointmentData, Boolean)
Deletes the specified appointment and returns the available appointments.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public IEnumerable<AppointmentData> DeleteAppointment(
	ISchedulerInfo schedulerInfo,
	AppointmentData appointmentData,
	bool deleteSeries
)

Parameters

schedulerInfo
Type: Kettic.AspNet.ControlsISchedulerInfo
A ISchedulerInfo object which contains the current time period.
appointmentData
Type: Kettic.AspNet.ControlsAppointmentData
A AppointmentData which represents the apointment that shoud be deleted.
deleteSeries
Type: SystemBoolean
Specified wether to delete the recurring series if the specified appointment is recurrence master.

Return Value

Type: IEnumerableAppointmentData
Examples
[WebMethod]
public IEnumerable<AppointmentData> RemoveAppointment(SchedulerInfo schedulerInfo, AppointmentData appointmentData, bool deleteSeries)
{
    return Controller.RemoveAppointment(schedulerInfo, masterAppointmentData, deleteSeries);
}
See Also