共用方式為


ReportingService2006.CancelJob 方法

Cancels the execution of a job.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Function CancelJob ( _
    JobID As String _
) As Boolean
'用途
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

參數

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

傳回值

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

備註

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ManageWeb

請參閱

參考

ReportingService2006 類別

ReportService2006 命名空間