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.
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:
Returns a DataSourceObject. Returns Null if the object is not found.