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 命名空间