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


In This Topic
    SetSelectedDataSourcesAsync Method
    In This Topic
    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
    public Task SetSelectedDataSourcesAsync( 
       IEnumerable<DataSource> dataSources
    )
    public:
    Task^ SetSelectedDataSourcesAsync( 
       IEnumerable<DataSource^>^ dataSources
    ) 

    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 7, .NET 8

    See Also