Share via


ExecutionInfo Class

Definition

Describes the state of the current report execution.

public ref class ExecutionInfo
public class ExecutionInfo
type ExecutionInfo = class
Public Class ExecutionInfo
Inheritance
ExecutionInfo
Derived

Examples

For an example, please see the Render method.

Remarks

This is returned by several methods, including GetExecutionInfo, LoadReportDefinition and SetExecutionParameters.

An ExecutionInfo object is used to determine what settings were or will be used to run a report. It is also used to determine if parameters and credentials are required to run a report, and to supply those parameters and credentials if necessary before calling the Render method.

Constructors

ExecutionInfo()

Initializes a new instance of the ExecutionInfo class.

Properties

AllowQueryExecution

Indicates whether the user is allowed to provide values for parameters used in the query.

AutoRefreshInterval

Represents the rate, in seconds, at which a report page rendered as HTML automatically refreshes. Read-only.

CredentialsRequired

Indicates whether the report requires credentials.

DataSourcePrompts

Gets or sets the prompt strings for each data source associated with a report.

ExecutionDateTime

Gets or sets the date and time that the snapshot associated with the execution was created.

ExecutionID

Gets or sets a string that uniquely identifies the current execution.

ExpirationDateTime

Gets or sets the date and time that the execution expires.

HasDocumentMap

Indicates whether the report has a document map.

HasSnapshot

Indicates whether data has been retrieved and processed for the report.

HistoryID

Gets or sets a string containing the history ID if the report is from a report history snapshot.

NeedsProcessing

Indicates whether the snapshot associated with the execution needs to be created or reprocessed.

NumPages

Gets or sets the number of logical pages, including soft page breaks, in the report.

Parameters

Contains the current parameter information for the execution.

ParametersRequired

Indicates whether the report requires parameter values to be supplied.

ReportPageSettings

Represents the report page settings for the current execution.

ReportPath

Gets or sets the full path to the report on the server.

Applies to