ReportExecutionService.LoadReport2(String, String) 메서드

정의

보고서 서버에서 보고서를 새 실행으로 불러옵니다.

public:
 ReportExecution2005::ExecutionInfo2 ^ LoadReport2(System::String ^ Report, System::String ^ HistoryID);
public ReportExecution2005.ExecutionInfo2 LoadReport2(string Report, string HistoryID);
member this.LoadReport2 : string * string -> ReportExecution2005.ExecutionInfo2
Public Function LoadReport2 (Report As String, HistoryID As String) As ExecutionInfo2

매개 변수

Report
String

보고서의 전체 이름입니다.

HistoryID
String

스냅샷의 히스토리 ID.

반품

ExecutionInfo2 로드된 보고서에 필요한 정보를 담은 객체입니다.

설명

아래 표는 이 작업에 대한 헤더와 권한 정보를 보여줍니다.

SOAP 헤더 사용 (입) TrustedUserHeaderValue

(아웃) ExecutionHeaderValue

(아웃) ServerInfoHeaderValue
네이티브 모드 필요 권한 주요 보고서에 따르면: ReadProperties 그리고 ExecuteAndView

모든 하위 보고서에서: ReadProperties
SharePoint 모드 필요 권한이 필요 주요 보고서와 모든 하위 보고서에 대해: <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

이 메서드는 보고서를 호출 Render2 하기 전에 호출되어야 합니다.

보고서의 실행 속성에 따라 반환 ExecutionInfo2 되는 것은 렌더링 준비가 된 스냅샷일 수도 있고, 처리가 필요한 보고서일 수도 있습니다. a HistoryID 가 지정되어 있으면 보고서는 이미 처리되어 즉시 작성할 수 있습니다.

반환 ExecutionInfo2 된 객체는 새로운 ExecutionID.

적용 대상