ExecutionInfo2 类

Describes the state of the current report execution.

继承层次结构

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

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

语法

声明
<SerializableAttribute> _
Public Class ExecutionInfo2 _
    Inherits ExecutionInfo
用法
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

ExecutionInfo2 类型公开以下成员。

构造函数

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

页首

属性

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

页首

方法

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

页首

注释

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.

线程安全

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