語言

ReportingService2006.ListTasks(SecurityScopeEnum) 方法

定義

回傳由報表伺服器管理的任務名稱與描述。

public:
 cli::array <ReportService2006::Task ^> ^ ListTasks(ReportService2006::SecurityScopeEnum SecurityScope);
public ReportService2006.Task[] ListTasks(ReportService2006.SecurityScopeEnum SecurityScope);
member this.ListTasks : ReportService2006.SecurityScopeEnum -> ReportService2006.Task[]
Public Function ListTasks (SecurityScope As SecurityScopeEnum) As Task()

參數

SecurityScope
SecurityScopeEnum

一個 SecurityScopeEnum 指定項目回傳的安全範圍的值。

傳回

Task[]

一組 Task 包含項目層級任務資訊的物件陣列。

備註

下表顯示此操作的標頭與權限資訊。

SOAP 標頭 (在) TrustedUserHeaderValue

(出局) ServerInfoHeaderValue
必要權限 None

此方法回傳的任務為項目層級任務。 欲了解更多資訊,請參閱 任務與權限。

若指定值 System ,則 rsOperationNotSupportedSharePointMode 回傳。

適用於