다음을 통해 공유


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 네임스페이스