Methods for cConnection
View method list in hierarchical order.
| Name | Type | Description | Defining Class |
|---|---|---|---|
| AddAllConnections | Function | Reads all connections and registers all active connections | cConnection |
| AddConnection | Function | Registers and adds a Connection ID for the driver | cConnection |
| AssembleConnectionString | Function | Helper function that assembles a complete ODBC Server String from components passed in | cConnection |
| AutoConnect | Procedure | Registers all connections by sending RegisterAllConnections and logs in to all connections by sending LoginAll | cConnection |
| AutoDisconnect | Procedure | Disconnects and unregsters all connections when a workspace is opened | cConnection |
| ChangeConnectIdCredentials | Function | Changes login credentials for a Connection ID | cConnection |
| CheckTokenConnection | Procedure | cConnection | |
| ChildByIndex | Function | Can be used to iterate the direct children of an object | cObject |
| ClassSuperClass | Function | Returns the superclass of the passed class | cObject |
| ConfigurationError | Procedure | Sent when a configuration error occurs | cConnection |
| ConnectionDatabaseIdHandle | Function | Returns handle to the database for the passed in connection | cConnection |
| ConnectionIdCLIHandler | Function | Returns a handle for the CLI object associated with the passed Connection ID, tests if Connection ID is registered | cConnection |
| ConnectionIdIndex | Function | Returns the index for the passed Connection ID within the internal array of connections described in ConnectionIDs, tests if Connection ID is registered | cConnection |
| ConnectionIdInfo | Function | Returns complete and up to date information for a registered connection | cConnection |
| ConnectionIDs | Function | Array of registered Connection IDs | cConnection |
| ConnectionIDServerString | Function | Returns the Connection Id syntax used for IDs in the INT file | cConnection |
| ConnectionIniFile | Function | Returns the full path name of the Connection INI file | cConnection |
| ConnectionIniFromCmdLine | Function | Returns Connection.Ini file name if it was passed into the application on the command line | cConnection |
| Create | Function | Creates an object based on the passed Class Id | cObject |
| CreateESQLConnectionHandler | Function | Creates an SQL Connection Handler | cConnection |
| CreateNamed | Function | Creates an object based on the passed Class Id and assigns it a name Name based on a passed name | cObject |
| DecryptPassword | Function | Used to decrypt a password | cConnection |
| DeleteConnectionId | Procedure | Removes a registered connection for a passed Connection ID | cConnection |
| Destroy | Procedure | Destroys the object that receives the message and any child objects of that object | cObject |
| DriverCLIHandler | Function | Returns a handle for the CLI object associated with the passed driver, tests if driver is registered | cConnection |
| DriverIndex | Function | Returns the index for a loaded driver | cConnection |
| DriverServerNames | Function | Returns an array of logged in servers for the passed driver | cConnection |
| EncryptPassword | Function | Used to encrypt a password | cConnection |
| EnumerateConnections | Procedure | Lists the currently registered Connection Ids | cConnection |
| Exit_Application | Procedure | Starts the process of closing an application | cObject |
| IsClassOfClass | Function | Determines whether the target class is part of the searched class's hierarchy | cObject |
| IsConnectionIdLoggedIn | Function | Tests if the connection identified by the passed connection Id is logged in to database server | cConnection |
| IsManagedConnection | Function | Used to check if a table uses managed connection | cConnection |
| IsObjectOfClass | Function | Determines whether the passed class is part of the object's class hierarchy | cObject |
| LoadedDrivers | Function | Returns a string array of all loaded drivers, both managed and unmanaged | cConnection |
| LoadStoredConnections | Function | Used to read the connections INI file | cConnection |
| LoginAll | Procedure | Logs in to all managed connections | cConnection |
| LoginAllConnections | Function | Attempts to log in to all managed connections | cConnection |
| LoginConnectIdBase | Function | Attempts the actual login | cConnection |
| LoginConnectIdDialog | Function | Pops up a database login dialog, which will allow the user to log in and store the login credentials | cConnection |
| LoginConnectIdNewCredentials | Function | Attempts a Connection Id login using Id with passed credentials | cConnection |
| LoginConnectionId | Function | Attempts to log in the connection identified by the passed connection ID | cConnection |
| LoginServer | Function | Login to this Managed Connection via a Driver and Connection String | cConnection |
| LogoutAllConnections | Procedure | Performs a log out of all connections | cConnection |
| LogoutConnectionId | Procedure | Performs a log out for a passed Connection ID | cConnection |
| ObjectClass | Function | Returns the integer class ID assigned to the class this object is based on | cObject |
| RedirectConnectionId | Function | Redirects a connection from one Server String to another without closing any tables | cConnection |
| RegisterAllConnections | Procedure | Reads all connections and registers all active connections | cConnection |
| RegisterDriver | Function | Used to load and register managed drivers | cConnection |
| Request_Destroy_Object | Procedure | Use the Destroy method instead | cObject |
| SetTokenConnection | Procedure | cConnection | |
| SQLConnectionByTable | Function | Returns a connection handle for the connection being used by an open table | cConnection |
| SQLConnectionId | Function | Returns an SQL connection handle | cConnection |
| StoreConnectionIdCredentials | Function | Used to store login credentials (user name, password and trusted-connection) in the connections INI file | cConnection |
| TableConnectionID | Function | Returns the connection ID of a table if the table uses managed connection | cConnection |
| TestDriverConformance | Function | Used to test of the driver can be used as a managed driver | cConnection |
| TrapErrors | Procedure | Starts error trapping | cConnection |
| UnRegisterAllConnections | Procedure | Removes all registered Connection IDs | cConnection |
| UnTrapErrors | Procedure | Stops error trapping and errors are now redirected to the standard error handler | cConnection |