ReportingService2006.CancelJob(String) Method

Definition

Cancels the execution of a job.

public:
 bool CancelJob(System::String ^ JobID);
public bool CancelJob (string JobID);
member this.CancelJob : string -> bool
Public Function CancelJob (JobID As String) As Boolean

Parameters

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

Returns

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

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

Applies to