Show / Hide Table of Contents

CreateAppointment(DateTime,TimeSpan) Method

The DateTime the Appointment starts. If not set, the current time is used.

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

Syntax

'Declaration

Public Overloads Function CreateAppointment( _
   ByVal _startDate_ As Date, _
   ByVal _duration_ As TimeSpan _
) As CreateAppointmentResult
public CreateAppointmentResult CreateAppointment( 
   DateTime _startDate_,
   TimeSpan _duration_
)

Parameters

startDate

The DateTime the Appointment starts. If not set, the current time is used.

duration

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

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.