Condividi tramite


Metodo ReportingService2006.CancelJob

Cancels the execution of a job.

Spazio dei nomi  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Sintassi

'Dichiarazione
Public Function CancelJob ( _
    JobID As String _
) As Boolean
'Utilizzo
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

Parametri

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

Valore restituito

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

Osservazioni

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ManageWeb

Vedere anche

Riferimento

ReportingService2006 Classe

Spazio dei nomi ReportService2006