Language

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でサポートされていない値を指定した場合、rsOperationNotSupportedSharePointModeが返されます。

適用対象