Skip to content

AddConnection - cConnection

Registers and adds a Connection ID for the driver

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
sDriver String Driver Name
sId String Connection ID
sString String Server Connection String
sUID String User ID
sPWD String Password
bTrusted Boolean Use Trusted Connection?
sSection String INI file section

Syntax

Function AddConnection String sDriver String sId String sString String sUID String sPWD Boolean bTrusted String sSection Returns Integer

Call Example

Get AddConnection sDriver sId sString sUID sPWD bTrusted sSection to IntegerVariable

Description

AddConnection registers and adds a Connection ID for the driver.

It is passed all of the parameters needed to register a managed connection.

It is called by AddAllConnections.

This can be called by the developer as part of a custom managed connection strategy.