DataSources Property
The DataSources property returns a collection of DataSource objects in a model.
Syntax
Model .DataSources
Applies To
Discussion
Use this collection to group all data sources in a model. This group includes generic objects such as DataSource, and specific source objects such as IqdDataSource.
Data sources, except the DataSource object, contain Columns collections. Columns are the source for levels in a dimension.
A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.
Type
Object
Access
Read
Examples
objDataSource = objModel.DataSources.Add(xtrObjectType.trFlatFileDataSource)