Partager via


Méthode ReportingService2006.CancelJob

Cancels the execution of a job.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (en ReportService2006.dll)

Syntaxe

'Déclaration
Public Function CancelJob ( _
    JobID As String _
) As Boolean
'Utilisation
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

Paramètres

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

Valeur de retour

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

Notes

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ManageWeb

Voir aussi

Référence

ReportingService2006 Classe

Espace de noms ReportService2006