Click or drag to resize

ReportTask Properties

The ReportTask type exposes the following members.

Properties
 NameDescription
Public propertyBodyScript Body Razor script executed for the Task.
Public propertyConnection Current MetaConnection
Public propertyConnectionGUID The connection identifier used by the task
Public propertyDefaultBodyScript Default body script coming from the template
Public propertyDefaultScript Default script coming from the template
Public propertyDescription Description coming from the template
Public propertyEnabled If false, the task is ignored and not executed
Public propertyError Last error message
Public propertyExecuteForEachConnection If true, the task will be executed for each connection defined in the Data Source. If false, only the current connection is used.
Public propertyGUID The unique identifier
(Inherited from RootComponent)
Public propertyIgnoreError If true, errors occuring during the task execution are ignored and the report execution continues
Public propertyInformation Last information message
Public propertyName The name
(Inherited from RootComponent)
Public propertyParameters List of Table Parameters
Public propertyParentTask Current parent task if any
Public propertyReferenceTask Current reference task if any
Public propertyReferenceTaskGUID If set, the values of the properties of the task may be taken from the reference task. This applies to Script, SQL and Parameters having their default value. This enables the sharing of property values among different tasks.
Public propertyReport The current report
(Inherited from ReportComponent)
Public propertyRepository Current Repository
Public propertyRetries Number of retries in case of error
Public propertyRetryDuration Duration in seconds to wait between each retry
Public propertyScript Razor script executed for the Task. It may be empty if the SQL Script is defined.
Public propertySortOrder Order of the task amongst the tasks of the report
Public propertySource Current ReportSource
Public propertySourceGUID Identifier of the current report source
Public propertySQL SQL Statement executed for the task. It may be empty if a Razor Script is defined. The statement may contain Razor script if it starts with '@'. If the SQL result returns 0, the report is cancelled and the next tasks are not executed.
Public propertySQLSeparator Separator used in the SQL Statement to split the script in several sub-scripts and executions (e.g. GO or ;). The SQL statement must contain the separator plus a line feed to be detected.
Public propertySQLStatements List of SQL statements to execute
Public propertyStep The Report Execution Step to execute the task. By default, tasks are executed before the models generation.
Public propertyTaskTemplate 
Public propertyTemplateName The Razor Script used to execute the task
Top
See Also