Skip to content

LoginServer - cConnection

Login to this Managed Connection via a Driver and Connection String

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
sDriver String Driver Name
sConnectString String Connection String
sUID String User Id
sPWD String Password
bSilent Boolean Silent Login?

Syntax

Function LoginServer String sDriver String sConnectString String sUID String sPWD Boolean bSilent Returns Integer

Call Example

Get LoginServer sDriver sConnectString sUID sPWD bSilent to IntegerVariable

Description

LoginServer logs in to this Managed Connection via a Driver and Connection String.

Normally you would not use LoginServer, but use LoginConnectionId instead.

If pbSkipDuplicateLogin is True, it will skip the login if it is already connected.

Return Value

Status: 0 = Success, 1 = Failed