GetDatabases

Get a list of all databases declared in the project.

Function

Array GetDatabases();

Parameters

None

Return Value

An array of Database object. Or empty array if none in the project.

Example

var arr = GetDatabases();
for (var i = 0; i < arr.length; ++i)
{
    LogDebug("Database ID " + arr[i].DatabaseId);
    LogDebug("Database Name " + arr[i].Name);
    LogDebug("Database ConnectionString " + arr[i].ConnectionString);
    LogDebug("Database DatabaseProviderName " + arr[i].DatabaseProviderName);
}