Click or drag to resize

SQLConnection Constructor

X#
Construct an SQL connection.

Namespace:  VO
Assembly:  VOSQLClasses (in VOSQLClasses.dll) Version: 2.19
Syntax
 CONSTRUCTOR(
	cDataSourceName,
	cUserID,
	cPassword
) CLIPPER
Request Example View Source

Parameters

cDataSourceName (Optional)
Type: Usual
The ODBC data source name. If not specified, the default is NULL_STRING.
cUserID (Optional)
Type: Usual
The ODBC user ID. If not specified, the default is NULL_STRING.
cPassword (Optional)
Type: Usual
The ODBC password (authorization string). If not specified, the default is NULL_STRING.
Remarks
If a data source is provided to this method, an attempt to connect will occur; otherwise, use the SQLConnection:Connect() method. Another option is to use SQLConnection:DataSource to name the source.
See Also