AddDataSourceObject(Id: String; Object: IMetabaseObject): IAdhocDataSourceObject;
Id. Dashboard object identifier.
Object. Repository object.
The AddDataSourceObject method adds a data source for visualizers.
To remove data source, use the IAdhocDataSourceObjects.RemoveById method.
The method use is given in the example for IAdhocDataSourceObject.Id.
See also: