Udostępnij za pośrednictwem


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
public string DataSetName { get; }
public:
property String^ DataSetName {
    String^ get ();
}
/** @property */
public String get_DataSetName ()
public function get DataSetName () : String

Property Value

A String value containing the name of the dataset.

Remarks

New:5 December 2005

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 null and the dataset names are retrieved from the data region objects.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace