IProject.AddDataSource method
AddDataSource
IDataSource AddDataSource(DataSourceType eDataSourceType, String DataSourceName)
Referenced types: IDataSource, DataSourceType
Creates and adds a DataSource to the Project.
Returns
DataSource object
Parameters
| Parameter / type | Description |
|---|---|
eDataSourceTypeDataSourceType |
The type of the DataSource |
DataSourceNameString |
The name of the DataSource to be added to the Project |