Bagikan melalui


ExecutionInfo2 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 ExecutionInfo2 _
    Inherits ExecutionInfo
'Usage
Dim instance As ExecutionInfo2
[SerializableAttribute]
public class ExecutionInfo2 : ExecutionInfo
[SerializableAttribute]
public ref class ExecutionInfo2 : public ExecutionInfo
[<SerializableAttribute>]
type ExecutionInfo2 =  
    class
        inherit ExecutionInfo
    end
public class ExecutionInfo2 extends ExecutionInfo

The ExecutionInfo2 type exposes the following members.

Constructors

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

Top

Properties

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

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 GetExecutionInfo2, LoadReportDefinition2 and SetExecutionParameters2.

An ExecutionInfo2 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 Render2 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