(Contents)(Previous)(Next)

Duration (property)

Description: Represents the appointments duration in minutes. You may both set and get this property. The duration is specified in minutes.
Type: long
Default: 30
Example:
Dim session As Object

Dim user As Object

Dim appts As Object

Dim appt As Object

Set session = CreateObject("OfficeTalk.Session")

Set user = session.Logon(login name, password)

Set appts = user.appointments

Set appt = appts.Add

appt.Duration = 30


Next