TFormer_GetNextDatasourceIt
Definition
ERRCODE TFormer_GetNextDatasourceIt(HDATASOURCE_ITERATOR hDatasourceIt);
Contract
Move the iterator to the next DataSource within the Project.
This function is used for enumerating data sources within a Project. Use TFormer_DatasourceItGetName and TFormer_DatasourceItGetDescription to retrieve the name and description of the actual DataSource.
Returns
ErrOk (0) if iterator was moved to the next DataSource, non-zero if an error occurred or there are no more data sources in the Project
Parameters
| Parameter / type | Description |
|---|---|
hDatasourceItHDATASOURCE_ITERATOR |
|
Note
Release the iterator after use with TFormer_FreeDatasourceIt ! Memory leaks may occur otherwise.