ExecutionInfo 类

Describes the state of the current report execution.

继承层次结构

System. . :: . .Object
  ReportExecution2005..::..ExecutionInfo
    ReportExecution2005. . :: . .ExecutionInfo2

命名空间:  ReportExecution2005
程序集:  ReportExecution2005(在 ReportExecution2005.dll 中)

语法

声明
<SerializableAttribute> _
Public Class ExecutionInfo
用法
Dim instance As ExecutionInfo
[SerializableAttribute]
public class ExecutionInfo
[SerializableAttribute]
public ref class ExecutionInfo
[<SerializableAttribute>]
type ExecutionInfo =  class end
public class ExecutionInfo

ExecutionInfo 类型公开以下成员。

构造函数

  名称 说明
公共方法 ExecutionInfo Initializes a new instance of the ExecutionInfo class.

页首

属性

  名称 说明
公共属性 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.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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.

示例

For an example, please see the Render method.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。