Langue

ReportingService2010.ListTasks(String) Méthode

Définition

Retourne les tâches gérées par le serveur de rapports.

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()

Paramètres

SecurityScope
String

Une String valeur qui spécifie la portée de sécurité des objets à retourner.

Pour une liste des portées de sécurité prises en charge, utilisez la ListSecurityScopes() méthode.

Retours

Task[]

Un ensemble d’objetsTask contenant des informations sur des tâches au niveau de l’élément.

Attributs

Remarques

Le tableau ci-dessous présente les informations sur l’en-tête et les autorisations concernant cette opération.

Utilisation de l’en-tête SOAP (En) TrustedUserHeaderValue

(Dehors) ServerInfoHeaderValue
Mode natif : autorisations requises None
Permissions requises en mode SharePoint Non pris en charge

Les tâches retournées par cette méthode sont des tâches de niveau item. Pour plus d’informations, voir Tâches et Autorisations.

Si une valeur non supportée est spécifiée dans SecurityScope, an rsOperationNotSupportedSharePointMode est retourné.

S’applique à