Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / DataMiner / IDLdbDatabase::Connect

IDLdbDatabase::Connect

IDLdbDatabase::Connect

Use the IDLdbDatabase::Connect procedure method to connect to the data source associated with a database object.

Syntax


DBobj -> [IDLdbDatabase::]Connect [, CONNECTION=string] [, DATASOURCE=string] [, USER_ID=string] [, PASSWORD=string]

Arguments


None.

Keywords


CONNECTION

Set this keyword equal to a raw ODBC connection string. No preprocessing is performed on the string before it is passed to the ODBC system. If this keyword is set, all other keywords are ignored. This keyword is useful mainly for advanced ODBC users.

DATASOURCE

Set this keyword equal to a string containing the name of a datasource to which you wish to connect. This name is dependent on the data source. Depending on the database you use, you may be able to specify a default data source.

USER_ID

Set this keyword equal to a string containing the user login name or ID used to log into the datasource.

PASSWORD

Set this keyword equal to a string containing the password corresponding to the user ID.

Version History


5.0

Introduced



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us