Compartilhar via


Classe ExecutionInfo

Describes the state of the current report execution.

Hierarquia de herança

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

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (em ReportExecution2005.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
Public Class ExecutionInfo
'Uso
Dim instance As ExecutionInfo
[SerializableAttribute]
public class ExecutionInfo
[SerializableAttribute]
public ref class ExecutionInfo
[<SerializableAttribute>]
type ExecutionInfo =  class end
public class ExecutionInfo

O tipo ExecutionInfo expõe os membros a seguir.

Construtores

  Nome Descrição
Método público ExecutionInfo Initializes a new instance of the ExecutionInfo class.

Início

Propriedades

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

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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.

Exemplos

For an example, please see the Render method.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência