Specifies the data source and data member for the current dashboard item.
public void SetDataSource( IDashboardDataSource newDataSource, string newDataMember )
Public Sub SetDataSource( newDataSource As IDashboardDataSource, newDataMember As String )
An object implementing the IDashboardDataSource interface that specifies a data source to which the dashboard item is bound.
A String value that specifies a data member in a dashboard data source.
All data-aware dashboard items expose the DataSource property that specifies a data source to which this item is actually bound. The DataDashboardItem.DataMember property specifies the required data member in this data source.
To access the collection of existing dashboard data sources, use the Dashboard.DataSources property.