ListTasks Método
Returns the names and descriptions of tasks that are managed by the report server.
Espacio de nombres: ReportService2006
Ensamblado: ReportService2006 (en ReportService2006.dll)
Sintaxis
'Declaración
<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()
'Uso
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[]
Parámetros
- SecurityScope
Tipo: ReportService2006. . :: . .SecurityScopeEnum
A SecurityScopeEnum value that specifies the security scope for the items to return.
Valor devuelto
Tipo: array<ReportService2006. . :: . .Task> [] () [] []
An array of Task objects that contain information about item-level tasks.
Notas
The tasks returned by this method are item-level tasks. For more information, see Tareas y permisos.
If a value of System is specified and rsOperationNotSupportedSharePointMode is returned.
Vea también