語言

ReportingService2010.ListTasks(String) 方法

定義

回傳由報告伺服器管理的任務。

public:
 cli::array <ReportService2010::Task ^> ^ ListTasks(System::String ^ SecurityScope);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListTasks", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ReportService2010.Task[] ListTasks(string SecurityScope);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListTasks", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.ListTasks : string -> ReportService2010.Task[]
Public Function ListTasks (SecurityScope As String) As Task()

參數

SecurityScope
String

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

如需支援的安全範圍清單,請使用該 ListSecurityScopes() 方法。

傳回

Task[]

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

屬性

備註

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

SOAP 標頭的使用 (在) TrustedUserHeaderValue

(出局) ServerInfoHeaderValue
原生模式所需權限 None
SharePoint 模式 必要權限 不支援

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

若在 中指定 SecurityScope不支持值,則回傳 a rsOperationNotSupportedSharePointMode 。

適用於