ReportExecutionService.LoadReportDefinition 메서드
Creates a report execution from a report definition supplied by the client.
네임스페이스: ReportExecution2005
어셈블리: ReportExecution2005(ReportExecution2005.dll)
구문
‘선언
Public Function LoadReportDefinition ( _
Definition As Byte(), _
<OutAttribute> ByRef warnings As Warning() _
) As ExecutionInfo
‘사용 방법
Dim instance As ReportExecutionService
Dim Definition As Byte()
Dim warnings As Warning()
Dim returnValue As ExecutionInfo
returnValue = instance.LoadReportDefinition(Definition, _
warnings)
public ExecutionInfo LoadReportDefinition(
byte[] Definition,
out Warning[] warnings
)
public:
ExecutionInfo^ LoadReportDefinition(
array<unsigned char>^ Definition,
[OutAttribute] array<Warning^>^% warnings
)
member LoadReportDefinition :
Definition:byte[] *
warnings:Warning[] byref -> ExecutionInfo
public function LoadReportDefinition(
Definition : byte[],
warnings : Warning[]
) : ExecutionInfo
매개 변수
- Definition
유형: array<System.Byte[]
A byte stream containing the Report Definition Language (RDL) for the report.
- warnings
유형: array<ReportExecution2005.Warning[]%
A collection of Warning objects containing warnings that may have occurred during report publishing.
반환 값
유형: ReportExecution2005.ExecutionInfo
An ExecutionInfo object containing information for the report execution.
주의
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(Out) ExecutionHeaderValue (Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
ReadProperties on all subreports AND ExecuteReportDefinition (System) |
SharePoint Mode Required Permissions |
ViewListItems on all subreports AND UseRemoteAPIs |
This method should be called prior to calling the Render method for a report.
The returned report execution will need to be processed before it is rendered. A new execution is created and the ExecutionInfo is returned with a new ExecutionID value.
Reports instantiated with the LoadReportDefinition method are temporary. They are not represented in the report server namespace, and are discarded when the server session expires.
Reports instantiated with the LoadReportDefinition method are not securable, and may not be shared with other users; the person who created the execution with LoadReportDefinition is the only user who may access them.
Subreports and data source references with relative paths are not supported using this method. However, absolute paths to catalog items can be used.
예
Please see Render for an example.