combit List & Label 30 - .NET Help
combit.ReportServer.ClientApi.Objects Namespace / ReportTemplate Class / SetSelectedDataSourcesAsync Method


SetSelectedDataSourcesAsync Method
Sets the data sources for this report template. Use GetSelectedAndAvailableDataSourcesAsync to get a list of the available data sources.
Syntax
'Declaration
 
Public Function SetSelectedDataSourcesAsync( _
   ByVal dataSources As IEnumerable(Of DataSource) _
) As Task
 

Parameters

dataSources
Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also