Next Topic

Previous Topic

Book Contents

Connect(2)

bool Connect(string sConnectString,string sUser,string sPassword,int iClientType=TLuaDB.CLIENT_ODBC)

Return values

True if the connection was successfully executed, false if an error occurred.

Parameters

  • sConnectString - A client specific connect string. See remarks section for more information
  • sUsername - Credentials to use with the connection.
  • sPassword - Credentials to use with the connection, can't be empty if username is specified.
  • iClientType - Type of client to communicate with, currently the only option is CLIENT_ODBC.

Remarks

The connect string is client specific , see Connect for more information.