Creates a new report edit session in the report server database.
Assembly: ReportService2010 (in ReportService2010.dll)
public function CreateReportEditSession( Report : String, Parent : String, Definition : byte, Warnings : Warning ) : String
- Type: String
The name of the report with which to associate the edit session.
- Type: String
The path to an item. This can be a folder or a SharePoint library.
- Type: Byte
A byte array that contains the report definition language (RDL) of the report associated with the edit session.
Return ValueType: String
A string that identifies the edit session.
The table below shows header and permissions information on this operation.
SOAP Header Usage
Native Mode Required Permissions
ExecuteReportDefinition AND, depending on the situation:
SharePoint Mode Required Permissions
Needs the system property EnableLoadReportDefinition set to true AND, depending on the situation:
An error occurs if the specified folder or document library does not exist.
If the report specified in the Report parameter does not exist at the specified location, the value of Report sets the Globals!ReportName in the RDL for the edit session.
Definition cannot include an expression-based connection string. When it does, the rsInvalidParameterValue is returned by this method.
By default, report edit sessions are set to 7200 seconds (2 hours) from last use, making it possible for users to keep a large amount of data in the cache for a prolonged period of time. In some usage patterns, this could lead to a larger load on the RSTempDB database and the report server. In these cases you should consider using LoadReport.