Attach a data source to the index job. See dtsDataSource and DDataSourceBase
DIndexJob Class
The data source in ds will be indexed along with any files specified by the FoldersToIndex.