ExecutionInfo Class

Describes the state of the current report execution.

Inheritance Hierarchy

System.Object
  ReportExecution2005.ExecutionInfo
    ReportExecution2005.ExecutionInfo2

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ExecutionInfo
'Usage
Dim instance As ExecutionInfo
[SerializableAttribute]
public class ExecutionInfo
[SerializableAttribute]
public ref class ExecutionInfo
[<SerializableAttribute>]
type ExecutionInfo =  class end
public class ExecutionInfo

The ExecutionInfo type exposes the following members.

Constructors

  Name Description
Public method ExecutionInfo Initializes a new instance of the ExecutionInfo class.

Top

Properties

  Name Description
Public property AllowQueryExecution Indicates whether the user is allowed to provide values for parameters used in the query.
Public property AutoRefreshInterval Represents the rate, in seconds, at which a report page rendered as HTML automatically refreshes. Read-only.
Public property CredentialsRequired Indicates whether the report requires credentials.
Public property DataSourcePrompts Gets or sets the prompt strings for each data source associated with a report.
Public property ExecutionDateTime Gets or sets the date and time that the snapshot associated with the execution was created.
Public property ExecutionID Gets or sets a string that uniquely identifies the current execution.
Public property ExpirationDateTime Gets or sets the date and time that the execution expires.
Public property HasDocumentMap Indicates whether the report has a document map.
Public property HasSnapshot Indicates whether data has been retrieved and processed for the report.
Public property HistoryID Gets or sets a string containing the history ID if the report is from a report history snapshot.
Public property NeedsProcessing Indicates whether the snapshot associated with the execution needs to be created or reprocessed.
Public property NumPages Gets or sets the number of logical pages, including soft page breaks, in the report.
Public property Parameters Contains the current parameter information for the execution.
Public property ParametersRequired Indicates whether the report requires parameter values to be supplied.
Public property ReportPageSettings Represents the report page settings for the current execution.
Public property ReportPath Gets or sets the full path to the report on the server.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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.

Examples

For an example, please see the Render method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference