Deletes a shared schedule from the report server database or SharePoint library.
Assembly: ReportService2010 (in ReportService2010.dll)
'Declaration <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 Sub DeleteSchedule ( _ ScheduleID As String _ ) 'Usage Dim instance As ReportingService2010 Dim ScheduleID As String instance.DeleteSchedule(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 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.