言語

ReportingService2010.ListSchedules(String) メソッド

定義

レポートサーバーデータベースまたは特定のSharePointサイト内のすべての共有スケジュールのリストを返します。

public:
 cli::array <ReportService2010::Schedule ^> ^ ListSchedules(System::String ^ SiteUrl);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListSchedules", 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 ReportService2010.Schedule[] ListSchedules(string SiteUrl);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListSchedules", 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.ListSchedules : string -> ReportService2010.Schedule[]
Public Function ListSchedules (SiteUrl As String) As Schedule()

パラメーター

SiteUrl
String

SharePointサイトの完全限定URLです。

ネイティブモードでこのメソッドを呼び出す際、このパラメータをnull(Visual BasicではNothing)に設定してください。

返品

レポートサーバーデータベースや特定のサイト内のすべての共有スケジュールを表す Schedule オブジェクトの配列です。

属性

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダーの使用 (イン) TrustedUserHeaderValue

(アウト) ServerInfoHeaderValue
ネイティブモードの必要権限 ReadSchedules (システム)
SharePointモードの必要権限 <xref:Microsoft.SharePoint.SPBasePermissions.Open>

このメソッドは、ネイティブモードでSiteUrlパラメータにnullでない値が指定された場合、rsUnsupportedParameterForModeException例外を投げます。

レポートサーバーのデータベースやSharePointサイトに共有スケジュールが含まれていない場合、空のSchedule配列が返されます。

適用対象