CreateAppointment(DateTime,DateTime) Method
The DateTime the Appointment starts. If not set, the current time is used.
The DateTime the Appointment ends. If not set, the start time and duration is used to calculate the end time.
Syntax
'Declaration
Public Overloads Function CreateAppointment( _
ByVal _startDate_ As Date, _
ByVal _endDate_ As Date _
) As CreateAppointmentResult
public CreateAppointmentResult CreateAppointment(
DateTime _startDate_,
DateTime _endDate_
)
Parameters
startDate
The DateTime the Appointment starts. If not set, the current time is used.
endDate
The DateTime the Appointment ends. If not set, the start time and duration is used to calculate the end time.
Return Value
The following values are populated in the CreateAppointmentResult object returned by the API method:
- ScheduleObjid - The Objid of the Schedule.
- Objid - The Objid of the Appointment.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family