ReportingService2010::ListScheduleStates Method
SQL Server 2008 R2
Returns a list of supported schedule states.
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)] [SoapHeaderAttribute(L"TrustedUserHeaderValue")] [SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListScheduleStates", RequestNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)] public: array<String^>^ ListScheduleStates()
Return Value
Type: array<System::String>An array of String objects that represent the supported schedule 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 schedule states are supported.
Schedule State | Description |
|---|---|
Expired | The schedule has expired according to the value of the EndDate property of the schedule. |
Failing | An error occurred and reports that are associated with the schedule cannot run. |
Paused | The schedule is currently paused. |
Ready | Reports that are associated with the schedule are ready to run at the next appropriate time. |
Running | Reports that are associated with the schedule are currently running. |
