Freigeben über


ReportingService2006.CancelJob-Methode

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

Parameter

  • JobID
    Typ: 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.

Rückgabewert

Typ: System.Boolean
true to if the job was successfully cancelled; otherwise, false.

Hinweise

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ManageWeb

Siehe auch

Verweis

ReportingService2006 Klasse

ReportService2006-Namespace