Sets how many times the appointment occurs.
SetOccurrenceCount(occurrenceCount: number): void
An integer value that specifies how many times the appointment occurs.
The method is used in script-driven client appointment forms to update the form controls. For more information on the corresponding member of the RecurrenceInfo class, see the RecurrenceInfo.OccurrenceCount article.