ReportExecutionService.LoadReport2 메서드

Loads a report from the report server into a new execution.

네임스페이스:  ReportExecution2005
어셈블리:  ReportExecution2005(ReportExecution2005.dll)

public ExecutionInfo2 LoadReport2(
	string Report,
	string HistoryID
)

매개 변수

Report
유형: System.String
The full name of the report.
HistoryID
유형: System.String
The history ID of the snapshot.

반환 값

유형: ReportExecution2005.ExecutionInfo2
An ExecutionInfo2 object containing information for the loaded report.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ExecutionHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

On the main report: ReadProperties AND ExecuteAndView

On all subreports: ReadProperties

SharePoint Mode Required Permissions

On the main report and all subreports: ViewListItems

This method should be called prior to calling the Render2(String, String, String, String, String, Warning, String) method for a report.

Depending on the execution properties of the report, the returned ExecutionInfo2 may either be a snapshot ready to be rendered or a report that needs to be processed. If a HistoryID is specified, the report has already been processed and it will be able to be rendered immediately.

The returned ExecutionInfo2 object will contain a new ExecutionID.

커뮤니티 추가 항목

추가
표시: