WebServiceAppointmentControllerDeleteAppointment Method (ISchedulerInfo, AppointmentData, Boolean) |
Deletes the specified appointment and returns the available appointments.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic IEnumerable<AppointmentData> DeleteAppointment(
ISchedulerInfo schedulerInfo,
AppointmentData appointmentData,
bool deleteSeries
)
Public Function DeleteAppointment (
schedulerInfo As ISchedulerInfo,
appointmentData As AppointmentData,
deleteSeries As Boolean
) As IEnumerable(Of AppointmentData)
public:
IEnumerable<AppointmentData^>^ DeleteAppointment(
ISchedulerInfo^ schedulerInfo,
AppointmentData^ appointmentData,
bool deleteSeries
)
member DeleteAppointment :
schedulerInfo : ISchedulerInfo *
appointmentData : AppointmentData *
deleteSeries : bool -> IEnumerable<AppointmentData>
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);
}
<WebMethod> _
Public Function RemoveAppointment(schedulerInfo As SchedulerInfo, appointmentData As AppointmentData, deleteSeries As Bool) As IEnumerable(Of AppointmentData)
Return Controller.RemoveAppointment(schedulerInfo, masterAppointmentData, deleteSeries)
End Function
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also