Version

ChangeDashboardFilterDataSourceItemAsync Method

This method can be used to replace the data source used by a given filter, returning null indicates Reveal to use the original data source stored in the dashboard.
Syntax
'Declaration
 
Function ChangeDashboardFilterDataSourceItemAsync( _
   ByVal filter As RVDashboardFilter, _
   ByVal dataSourceItem As RVDataSourceItem _
) As Task(Of RVDataSourceItem)
Task<RVDataSourceItem> ChangeDashboardFilterDataSourceItemAsync( 
   RVDashboardFilter filter,
   RVDataSourceItem dataSourceItem
)

Parameters

filter
The filter where the data source is being referenced, you might use the Title attribute to decide the data source to use
dataSourceItem
Information about the data source being used, like the name of the table, database, etc.

Return Value

The new data source to use or null to use the original data source in the dashboard
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also