GetDatabaseByID
Get a database by its ID.
Function
Database GetDatabaseByID(ID: integer)
Parameters
Name | Type | Description |
---|---|---|
ID | Number | Database id to search for |
Return Value
A database object.
Example
var a = GetDatabaseById(7);
LogDebug("Database ID " + a.DatabaseId);
LogDebug("Database Name " + a.Name);
LogDebug("Database ConnectionString " + a.ConnectionString);
LogDebug("Database DatabaseProviderName " + a.DatabaseProviderName);