ReportingService2010.DeleteSchedule(String) ReportingService2010.DeleteSchedule(String) ReportingService2010.DeleteSchedule(String) Method


Deletes a shared schedule from the report server database or SharePoint library.

 void DeleteSchedule(System::String ^ ScheduleID);
[System.Web.Services.Protocols.SoapDocumentMethod("", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="", ResponseNamespace="", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void DeleteSchedule (string ScheduleID);
Public Sub DeleteSchedule (ScheduleID As String)
String String String

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


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

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions DeleteSchedules (System)
SharePoint Mode 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 or SharePoint library.

Applies to