Methods for cSQLConnectionIniFile
Name |
Description |
SQLIniFileNumberOfConnections |
Returns the current number of connections of the ini-file. |
SQLIniFileAddConnection |
Adds a connection to the ini-file. Must be a FULL connection string. A full connetion string consists of a "DFConnectionId MyConnectionID," plus a connection string used to login to the database. |
SQLIniFileDeleteAllConnections |
Deletes all connections from the workspace SQLConnections.ini file. |
SQLIniFileDeleteConnection |
Deletes a specific connection. Pass the item number of the SQLConnections.ini file to delete. |
SQLIniFileFindConnection |
Finds a specific connection in the SQLConnections.ini file. Pass a full connection string. Returns a zero based integer. |
SQLIniFileSetDefaultConnection |
To update the SQLConnections.ini file with a new default setting |
SQLIniFileReadConnections |
Function returns a tSQLConnections struct array with all connections for the workspace SQLConnections.ini file. |
SQLIniFileWriteConnections |
Function that writes the passed tSQLConnections struct array to the SQLConnections.ini file. It will first delete all current settings before it writes the new/updated connections. |
EncryptPassword |
Encrypts the sPassword used for database login to the SQLConnections.ini file. |
DecryptPassword |
Decrypts a sPassword that previously have been encrypted. |