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 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 ReadSchedules (시스템)
SharePoint 모드 필수 권한 <xref:Microsoft.SharePoint.SPBasePermissions.Open>

이 메서드는 rsUnsupportedParameterForModeException 네이티브 모드에서 매개 변수에 대해 null이 아닌 값을 지정한 경우 예외를 SiteUrl throw합니다.

보고서 서버 데이터베이스 또는 SharePoint 사이트에 공유 일정이 없으면 빈 Schedule 배열이 반환됩니다.

적용 대상