Share via


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 ヘッダーの使用方法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
ネイティブ モードで必要なアクセス許可 なし
SharePoint モードに必要なアクセス許可 サポートされていません

このメソッドによって返されるタスクはアイテムレベルのタスクです。 詳細については、「 タスクと権限」を参照してください。

サポートされていない値が SecurityScope に指定された場合は、rsOperationNotSupportedSharePointMode が返されます。

適用対象