Méthode ListTasks
Retourne les noms et descriptions des tâches gérées par le serveur de rapports.
Espace de noms : ReportService2006
Assembly : ReportService2006 (en ReportService2006.dll)
Syntaxe
'Déclaration
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListTasks", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListTasks ( _
SecurityScope As SecurityScopeEnum _
) As Task()
'Utilisation
Dim instance As ReportingService2006
Dim SecurityScope As SecurityScopeEnum
Dim returnValue As Task()
returnValue = instance.ListTasks(SecurityScope)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListTasks", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public Task[] ListTasks(
SecurityScopeEnum SecurityScope
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListTasks", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<Task^>^ ListTasks(
SecurityScopeEnum SecurityScope
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListTasks", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member ListTasks :
SecurityScope:SecurityScopeEnum -> Task[]
public function ListTasks(
SecurityScope : SecurityScopeEnum
) : Task[]
Paramètres
- SecurityScope
Type : ReportService2006. . :: . .SecurityScopeEnum
Valeur SecurityScopeEnum qui spécifie l'étendue de sécurité pour les éléments à retourner.
Valeur de retour
Type : array<ReportService2006. . :: . .Task> [] () [] []
Tableau d'objets Task qui contiennent des informations sur les tâches au niveau de l'élément.
Notes
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
None |
The tasks returned by this method are item-level tasks. For more information, see Tâches et autorisations.
If a value of System is specified and rsOperationNotSupportedSharePointMode is returned.