AddToInfraredQueue

Description

Adds an appointment, contact, or task to the infrared queue.

Applies to

POOM objects

Syntax

Integer objectname.AddToInfraredQueue (entity)

Argument

Description

objectname

The name of the POOM object

entity

Entity of type POOMAppointment, POOMContact, or POOMTask

Returns

Integer. Returns 1 for success and one of the following negative values if an error occurs:

Usage

A user must be logged in to a POOM object to add an appointment, contact, or task to the infrared queue.

Examples

Example 1

The following example submits the first appointment retrieved from Outlook to the infrared queue:

// Global variable: g_poom
Int li_rtn

POOMAppointment  myAppts[]

...

g_poom = CREATE POOM

li_rtn = g_poom.login()

// ** Gets and submits an appointment to the queue**

li_rtn = g_poom.getAppointments( myAppts )

li_rtn = g_poom.AddToInfraredQueue( myAppts[1])


g_poom.logout()

See also