ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Reports Namespace / ReportDataSource Class / ReportDataSource Constructor / ReportDataSource Constructor(CIMDataConnection,String,Boolean,IEnumerable<CIMReportField>)
The Data connection of the source.
The definition expression for the report.
Flag indicating that it should used the selection set of the MapMember.
Version

ReportDataSource Constructor(CIMDataConnection,String,Boolean,IEnumerable<CIMReportField>)
Creates a ReportDataSource object using a data connection.
Syntax

Parameters

dataConnection
The Data connection of the source.
definitionQuery
The definition expression for the report.
useSelectionSet
Flag indicating that it should used the selection set of the MapMember.
fields
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also