Skip to content

AddAllConnections - cConnection

Reads all connections and registers all active connections

Type: Function
Return Data Type: Boolean

Syntax

Function AddAllConnections Returns Boolean

Call Example

Get AddAllConnections to BooleanVariable

Description

AddAllConnections reads all connections and registers all active connections.

This function loads an array of managed connections by calling LoadStoredConnections. By default, this will load all enabled connections from the Connections INI file. It then calls AddConnection for each active connection in the array.

It returns success or failure. If this fails, an error status is returned, which you must handle yourself (see piErrorNumber, piErrorLine and psErrorText).

Return Value

Status: True = Success, False = Failed