ReportingService2010.ListJobStates Method
SQL Server 2008 R2
Returns a list of supported job states.
Assembly: ReportService2010 (in ReportService2010.dll)
'Declaration <SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListJobStates", 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("TrustedUserHeaderValue")> _ <SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _ Public Function ListJobStates As String() 'Usage Dim instance As ReportingService2010 Dim returnValue As String() returnValue = instance.ListJobStates()
Return Value
Type: System.String()An array of String objects that represent the supported job states.
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 | None |
The following job states are supported.
Job State | Description |
|---|---|
CancelRequested | Specifies that a user made a request to cancel the job. |
New | Specifies that The job is new and is currently being processed. |
Running | Specifies that the job is currently running. |
