Returns or sets the length of an Appointment.
The length of an Appointment.
Must be less than 31 days.
The default duration is one hour.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Duration property must be less than 31 days. |