Report.DataSetName Property
Gets the name of the dataset.
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public ReadOnly Property DataSetName As String
Get
'Usage
Dim instance As Report
Dim value As String
value = instance.DataSetName
public string DataSetName { get; }
public:
property String^ DataSetName {
String^ get ();
}
member DataSetName : string
function get DataSetName () : String
Property Value
Type: System.String
A String value containing the name of the dataset.
Remarks
If the report contains a single dataset, this property returns the name of the dataset. If a report contains multiple datasets, this property will be nulla null reference (Nothing in Visual Basic) and the dataset names are retrieved from the data region objects.