Returns the name of the current data source used for reports.
public string GetCurrentDataSource(IDataSourceCollection dataSources);
The name of the current data source used for reports.
A collection of data sources.
This method should only return a value if GetDataSources defines multiple data sources but the project's AllowMultipleDataSources property is false, meaning the user doesn't get to choose which data source they want because the plugin does it for them. In that case, this method should make a decision (likely based on the currently logged in user) about which data source to choose. Under any other conditions, this method should return blank or null.