ReportingService2010.ListTasks Method

Returns the tasks that are managed by the report server.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)


<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function ListTasks ( _
    SecurityScope As String _
) As Task()
Dim instance As ReportingService2010
Dim SecurityScope As String
Dim returnValue As Task()

returnValue = instance.ListTasks(SecurityScope)
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public Task[] ListTasks(
    string SecurityScope
[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
    ResponseNamespace = L"", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
array<Task^>^ ListTasks(
    String^ SecurityScope
[<SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member ListTasks : 
        SecurityScope:string -> Task[] 
public function ListTasks(
    SecurityScope : String
) : Task[]


  • SecurityScope
    Type: System.String
    A String value that specifies the security scope for the items to return.
    For a list of supported security scopes, use the ListSecurityScopes method.

Return Value

Type: array<ReportService2010.Task[]
An array of Task objects that contain information about item-level tasks.


The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions

Not supported

The tasks returned by this method are item-level tasks. For more information, see Tasks and Permissions.

If an unsupported value is specified in SecurityScope, an rsOperationNotSupportedSharePointMode is returned.