FreeTimeSearch (NotesSession - LotusScript®)

Searches for free time slots for calendaring and scheduling.

Defined in

NotesSession

Syntax

Set notesDateRange = notesSession .FreeTimeSearch( window , duration , names [ , firstfit ] )

Parameters

window

NotesDateRange. Starting and ending times within which to search for a match. If you specify Nothing, this method generates an error.

duration

Integer. The length in minutes of the free-time interval you want to schedule.

names

String or an array of strings. The name or names of the people or groups whose free time you want to schedule. If you specify Nothing, this method generates an error.

firstfit

Boolean. True if you just want the first matching date range. False if you want all matching times. Defaults to False.

Return value

notesDateRange

Array of NotesDateRange objects, or an array of empty objects if there are no matches.

Example