共用方式為


Report.DataSetName 屬性

Gets the name of the dataset.

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public ReadOnly Property DataSetName As String 
    Get
'用途
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

屬性值

型別:System.String
A String value containing the name of the dataset.

備註

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 nullnull 參考 (在 Visual Basic 中為 Nothing) and the dataset names are retrieved from the data region objects.

請參閱

參考

Report 類別

Microsoft.ReportingServices.ReportRendering 命名空間