GetAppointmentFromOID

Description

Gets an appointment from Pocket Outlook using the object ID.

Applies to

POOM objects

Syntax

POOMAppointment objectname.GetAppointmentFromOID (oid)

Argument

Description

objectname

The name of the POOM object

oid

Unsignedlong for the object ID of the appointment that you want to get

Returns

POOMAppointment. Use the IsValid function to confirm that a valid appointment was returned.

Usage

A user must be logged in to a POOM object to get an appointment from Pocket Outlook.

Examples

Example 1

The following example retrieves an appointment with an object ID of 1234:

// global variable: g_poom
POOMAppointment appt

appt = g_poom.GetAppointmentFromOID( 1234 )
If IsValid (appt) then
   // Use appt
end if

See also