Share via


EventSchedule.GetScheduleEventWithId Method

Gets a scheduled recording event that matches a specified ID.

Syntax

public ScheduleEvent GetScheduleEventWithId(
  string  id
);

Parameters

id

System.String.  The ID of the scheduled recording event to retrieve.

Return Value

Microsoft.MediaCenter.TV.Scheduling.ScheduleEvent.  A ScheduleEvent object representing the specified scheduled recording event.

This method raises an EventScheduleException for any error.

Requirements

Reference: ehRecObj

Namespace: Microsoft.MediaCenter.TV.Scheduling

Assembly: ehRecObj.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also