Show / Hide Table of Contents

CreateAppointment(TimeSpan,DateTime) Method

The length (in seconds) of the appointment. If not specified, it is calculated from the start and end times.

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 _duration_ As TimeSpan, _
   ByVal _endDate_ As Date _
) As CreateAppointmentResult
public CreateAppointmentResult CreateAppointment( 
   TimeSpan _duration_,
   DateTime _endDate_
)

Parameters

duration

The length (in seconds) of the appointment. If not specified, it is calculated from the start and end times.

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

Reference

FieldOpsToolkit Class
FieldOpsToolkit Members
Overload List

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.