ReportingService2006.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, String) method.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

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

If the DeleteSchedule method is called when 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