public void AddSortGroupField( ScheduleSortGroupField sortGroupField )
| Exception | Condition |
|---|---|
| ArgumentException | The field ID is not the ID of a field in this ScheduleDefinition. -or- The field cannot be used for sorting/grouping. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The resulting sorting/grouping field count would be greater than 4. |