ReportingService2010.DeleteSchedule Method (String)
Applies To: SQL Server 2016 Preview
Deletes a shared schedule from the report server database or SharePoint library.
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapHeaderAttribute("TrustedUserHeaderValue")] [SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSchedule", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] [SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)] public void DeleteSchedule( string ScheduleID )
The table below shows header and permissions information on this operation.
SOAP Header Usage
Native Mode Required Permissions
SharePoint Mode Required Permissions
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.