共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。