ReportingService2010.ListTasks Method
SQL Server 2012
Returns the tasks that are managed by the report server.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
'Declaration <SoapHeaderAttribute("TrustedUserHeaderValue")> _ <SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListTasks", RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _ ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _ Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _ <SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _ Public Function ListTasks ( _ SecurityScope As String _ ) As Task() 'Usage Dim instance As ReportingService2010 Dim SecurityScope As String Dim returnValue As Task() returnValue = instance.ListTasks(SecurityScope)
Parameters
- 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: 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 | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | None |
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.
Show: