Share via


SrsReportRunAdapter::newAutoReport Method [AX 2012]

Creates a new instance of the adapter that is used for rendering auto reports.

Syntax

client public static SrsReportRunAdapter newAutoReport(str _rdl, CLRObject _dataSet)

Run On

Client

Parameters

  • _rdl
    Type: str
    The RDL XML to use.
  • _dataSet
    Type: CLRObject Class
    A System.Data.DataSet object that contains the data to use to render the auto report.

Return Value

Type: SrsReportRunAdapter Class
A SrsReportRunAdapter object.

Exceptions

Exception Condition
Error

The input parameter is null Nothing nullptr unit a null reference (Nothing in Visual Basic) or an exception is thrown when creating the instance.

See Also

Reference

SrsReportRunAdapter Class