ReportingService2006.ListTasks(SecurityScopeEnum) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回报表服务器所管理的任务的名称和说明。
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 标头 | (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue |
所需的权限 | 无 |
此方法返回的任务是项级任务。 有关详细信息,请参阅 Tasks and Permissions。
如果指定了 值 System ,并且 rsOperationNotSupportedSharePointMode
返回 。