ReportingService2010.ListSchedules(String) ReportingService2010.ListSchedules(String) ReportingService2010.ListSchedules(String) Method


返回报表服务器数据库或给定 SharePoint 网站上所有共享计划的列表。 Returns a list of all shared schedules in the report server database or for a given SharePoint site.

 cli::array <ReportService2010::Schedule ^> ^ ListSchedules(System::String ^ SiteUrl);
[System.Web.Services.Protocols.SoapDocumentMethod("", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="", ResponseNamespace="", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ReportService2010.Schedule[] ListSchedules (string SiteUrl);
Public Function ListSchedules (SiteUrl As String) As Schedule()
String String String

SharePoint 站点的完全限定 URL。 The fully qualified URL for the SharePoint site. 将此参数设置为null(Nothing在 Visual Basic 中) 时调用此方法在纯模式下。 Set this parameter to null (Nothing in Visual Basic) when invoking this method in Native mode.


一个 Schedule 对象的数组,该数组表示报表服务器数据库或给定站点上的所有共享计划。 An array of Schedule objects that represents all shared schedules in the report server database or for the given site.


下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions ReadSchedules (系统)ReadSchedules (System)
SharePoint 模式所需的权限SharePoint Mode Required Permissions Open

此方法将引发rsUnsupportedParameterForModeException异常如果非 null 值指定为SiteUrl在纯模式下的参数。This method throws an rsUnsupportedParameterForModeException exception if a non-null value is specified for the SiteUrl parameter in Native mode.

如果报表服务器数据库或 SharePoint 站点不包含任何共享的计划,一个空Schedule返回的数组。If the report server database or SharePoint site does not contain any shared schedules, an empty Schedule array is returned.