DataSources Collection
The DataSources collection contains all data sources
in a model.
Discussion
Use this collection to add, select or remove a data source. This collection can include the following objects:
- CrossTabDataSource
- DataSource
- DbDataSource.
- FlatFileDataSource
- IqdDataSource
To return this collection, use the DataSources property.
These tables list related methods and properties.
Method |
Description |
---|---|
Adds an object to a collection that contains objects of more than one type. |
|
Selects a specific data source in the collection. |
|
Removes a specific data source from the collection. |
Property |
Description |
---|---|
Returns the Transformer Application object. |
|
Returns the number of DataSource objects in the collection. |
|
Returns the parent object. |
Examples
objDataSource = objModel.DataSources.Add(xtrObjectType.trFlatFileDataSource)