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

有关示例,请参阅 Render 方法。For an example, please see the Render method.

Remarks

这由多种方法返回,包括 GetExecutionInfo LoadReportDefinitionSetExecutionParametersThis is returned by several methods, including GetExecutionInfo, LoadReportDefinition and SetExecutionParameters.

ExecutionInfo对象用于确定运行报表时或将使用的设置。An ExecutionInfo object is used to determine what settings were or will be used to run a report. 它还用于确定运行报表所需的参数和凭据,并在调用方法之前提供这些参数和凭据(如有必要) RenderIt 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()

初始化 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

表示以 HTML 形式呈现的报表页自动刷新的速率(以秒为单位)。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

报表来自报表历史记录快照时,获取或设置包含历史记录 ID 的字符串。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