2.216.2 MapDataRegion.DataSetName
Applies to RDL 2010/01 and RDL 2016/01
The MapDataRegion.DataSetName element specifies the name of the dataset to use for a MapDataRegion. The MapDataRegion.DataSetName element is optional.
This element MUST be specified if the following conditions are true:
The map is not contained in another data region.
More than one dataset is specified in the report.
If the MapDataRegion has an ancestor, the value of the MapDataRegion.DataSetName element is interpreted as the DataSet.Name for the containing scope (DataRegion, Group, or Cell).<56>
The MapDataRegion.DataSetName element is ignored if the map is contained in another data region. If this element is not present and the map is not contained in another data region, the value of the MapDataRegion.DataSetName element is interpreted as the name of the single dataset name defined in the report. If the MapDataRegion.DataSetName element is contained in another data region, its value is interpreted as the name of the dataset of the containing data region.
Following is the parent element of the MapDataRegion.DataSetName element.
Parent elements |
---|
MapDataRegion |
The following is the XML Schema definition of the MapDataRegion.DataSetName element.
-
<xsd:element name="DataSetName" type="xsd:string" minOccurs="0" />