DataSource Class

The DataSource class is used to set or override the data connection string of a pre-existing data source at runtime.

A DataSource object has the following properties:

  • Name – Name of the data source.
  • DataConnStr – Value of data connection string.

A DataSource object has no available methods.


DataSourceCollection Class

This collection should not be instantiated; there is a single DataSourceCollection object that is accessed through the DataSources property of the Api object.

The DataSources property of an Api object has one available method:


GetDataSource(string dataSourceName)


Returns a DataSourceObject. Returns Null if the object is not found.

Hidden Article Information

Article Author
Exago Development
created 2017-02-21 16:48:48 UTC
updated 2019-05-16 21:06:40 UTC

.NET API, WebReports, DataSource, DataSourceCollection,
Have more questions? Submit a request