ReportingService2010.CancelJob Method (String)


Cancels the execution of a job.

Namespace:   ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

	RequestNamespace := "",
	ResponseNamespace := "",
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)>
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)>
Public Function CancelJob (
	JobID As String
) As Boolean


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 P:ReportService2010.Job object.

Return Value

Type: System.Boolean

true to if the job was successfully cancelled; otherwise, false.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(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.

Return to top