共用方式為


IReportData.DataSources 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets the collection of data sources from which datasets are taken for the report.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
ReadOnly Property DataSources As IList(Of DataSource)
    Get
'用途
Dim instance As IReportData 
Dim value As IList(Of DataSource)

value = instance.DataSources
IList<DataSource> DataSources { get; }
property IList<DataSource^>^ DataSources {
    IList<DataSource^>^ get ();
}
abstract DataSources : IList<DataSource>
function get DataSources () : IList<DataSource>

屬性值

型別:System.Collections.Generic.IList<DataSource>
The collection of data sources.

請參閱

參考

IReportData 介面

Microsoft.ReportingServices.RdlObjectModel 命名空間