Gets the scheduled recording events in Windows Media Center that meet the specified date-time range and state.
public ICollection<ScheduleEvent> GetScheduleEvents( DateTime beginRange, DateTime endRange, ScheduleEventStates state );
System.DateTime. The beginning of the date range in which to search. Any scheduled recording events that are partially or fully in this range are returned.
System.DateTime. The end of the date range in which to search. Any scheduled recording events that are partially or fully in this range are returned.
Microsoft.MediaCenter.TV.Scheduling.ScheduleEventStates. A member or bit-wise OR combination of members of the ScheduleEventStates enumeration that specify the state of the events to search for.
System.Collections.Generic.ICollection<Microsoft.MediaCenter.TV.Scheduling.ScheduleEvent>. Collection of scheduled recording events represented by ScheduleEvent objects.
This method raises an ArgumentException if the specified range is invalid. This method raises an EventScheduleException for any other errors.
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later