ReportingService2010.CancelJob Method
SQL Server 2012
Cancels the execution of a job.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/CancelJob", 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)] [SoapHeaderAttribute("TrustedUserHeaderValue")] public bool CancelJob( string JobID )
Parameters
- JobID
- Type: System.String
The ID of the job that you want to cancel. You can obtain the job ID from the JobID property in a Job object.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | |
SharePoint Mode Required Permissions |
Use the ListJobs method to obtain a list of jobs that are current running on the report server.
