Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Cancels the execution of a job.
Namespace: ReportService2006
Assembly: ReportService2006 (in ReportService2006.dll)
Syntax
'Declaration
Public Function CancelJob ( _
JobID As String _
) As Boolean
'Usage
Dim instance As ReportingService2006
Dim JobID As String
Dim returnValue As Boolean
returnValue = instance.CancelJob(JobID)
public bool CancelJob(
string JobID
)
public:
bool CancelJob(
String^ JobID
)
member CancelJob :
JobID:string -> bool
public function CancelJob(
JobID : String
) : boolean
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.
Return Value
Type: System.Boolean
true to if the job was successfully cancelled; otherwise, false.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |