Compartilhar via


Método ReportingService2006.CancelJob

Cancels the execution of a job.

Namespace:  ReportService2006
Assembly:  ReportService2006 (em ReportService2006.dll)

Sintaxe

'Declaração
Public Function CancelJob ( _
    JobID As String _
) As Boolean
'Uso
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

Parâmetros

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

Valor de retorno

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

Comentários

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ManageWeb

Consulte também

Referência

ReportingService2006 Classe

Namespace ReportService2006