ReportingService2010.PauseSchedule Method
SQL Server 2012
Pauses the execution of a given schedule.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
'Declaration <SoapHeaderAttribute("TrustedUserHeaderValue")> _ <SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _ <SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/PauseSchedule", 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)> _ Public Sub PauseSchedule ( _ ScheduleID As String _ ) 'Usage Dim instance As ReportingService2010 Dim ScheduleID As String instance.PauseSchedule(ScheduleID)
Parameters
- ScheduleID
- Type: System.String
The ID of the schedule.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | UpdateSchedules (System) |
SharePoint Mode Required Permissions |
Paused shared schedules cannot run until they are resumed. To resume a schedule, use the ResumeSchedule method.
Show: