Partilhar via


Método LocalReport.GetDataSourceNames

Returns the names of all datasets used within the local report.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)

Sintaxe

'Declaração
Public Function GetDataSourceNames As IList(Of String)
public IList<string> GetDataSourceNames()
public:
IList<String^>^ GetDataSourceNames()
member GetDataSourceNames : unit -> IList<string> 
public function GetDataSourceNames() : IList<String>

Valor de retorno

Tipo: IList<String>
An array of string objects that contain the list of dataset names.

Comentários

You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource.

Consulte também

Referência

LocalReport Classe

Namespace Microsoft.Reporting.WinForms