Share via


ReportingService2010.ListScheduleStates メソッド

定義

サポートされているスケジュールの状態の一覧を返します。

public:
 cli::array <System::String ^> ^ ListScheduleStates();
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListScheduleStates", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public string[] ListScheduleStates ();
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListScheduleStates", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.ListScheduleStates : unit -> string[]
Public Function ListScheduleStates () As String()

戻り値

String[]

サポートされているスケジュールの状態を表す String オブジェクトの配列です。

属性

注釈

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダーの使用方法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
ネイティブ モードで必要なアクセス許可 なし
SharePoint モードに必要なアクセス許可 なし

次のスケジュールの状態がサポートされています。

スケジュールの状態 説明
Expired スケジュールの EndDate プロパティの値により、スケジュールの有効期限が切れています。
Failing エラーが発生し、スケジュールに関連付けられているレポートを実行できません。
Paused スケジュールは、現在一時停止しています。
Ready スケジュールに関連付けられたレポートを、適切な次の機会に実行する準備ができています。
Running スケジュールに関連付けられたレポートを現在実行中です。

適用対象