ReportingService2005.DeleteSchedule(String) Method

Definition

Deletes a shared schedule from the report server database.

public:
 void DeleteSchedule(System::String ^ ScheduleID);
public void DeleteSchedule (string ScheduleID);
member this.DeleteSchedule : string -> unit
Public Sub DeleteSchedule (ScheduleID As String)

Parameters

ScheduleID
String

The ID of the schedule, returned by the CreateSchedule(String, ScheduleDefinition) method.

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions DeleteSchedules (System)

Reports and subscriptions that run according to the schedule do not run if the schedule is deleted.

If the DeleteSchedule method is called while a report that is associated with the shared schedule is running, the report continues to run. In that case, the schedule is assigned to the individual report.

Use the ListSchedules method to retrieve a current list of shared schedules in the report server database.

Applies to