Share via


ReportingService2005.ListTasks(SecurityScopeEnum) 方法

定义

返回报表服务器所管理的任务的名称和说明。

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

参数

SecurityScope
SecurityScopeEnum

一个指定要返回项的安全范围的 SecurityScopeEnum 值。

返回

Task[]

Task 对象的数组,它包含与项级任务有关的信息的集合。

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (Out) ServerInfoHeaderValue
所需的权限

此方法返回的任务是项级任务。 有关详细信息,请参阅 Tasks and Permissions

适用于