Project.AddDataSource method
AddDataSource
DataSource AddDataSource(DataSourceType type, string name)
Referenced types: DataSource, DataSourceType
Creates and adds a DataSource to the Project.
Returns
DataSource object
Parameters
| Parameter / type | Description |
|---|---|
typeDataSourceType |
The type of the DataSource |
namestring |
The name of the DataSource to be added to the Project |