IDataSourceCollection::Add

 
IDataSource *Add(
                  VARIANT varVal // VT_BSTR
);
 

Return Values

 
This method returns an IDataSource pointer from the IDataSourceCollection .
 

Remarks

 
Currently, the varVal parameter must be a VT_BSTR that is the name for the DataSource to be added.