GetDataSources

Get an array of all DataSources.

Function

Array GetDataSources()

Return Value

An array of DataSource objects.

Example

// Print the name and AutoConnect state of every DataSource.
let dataSources = GetDataSources();
for (let i = 0; i < dataSources.length; ++i) {
    LogDebug("DataSource Name = " + dataSources[i].Name);
    LogDebug("DataSource AutoConnect = " + dataSources[i].AutoConnect);
}